Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function uniqfname() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION UNIQFNAME()

  Short:
  ------
  UNIQFNAME() Creates a unique file name

  Returns:
  --------
  <cUniqueName> => unique file name

  Syntax:
  -------
  UNIQFNAME(cExtension,[cPath],[cPrefix])

  Description:
  ------------
  Attempts to create a unique file name using
  <cExtension> extension for file.

  [cPath]     path to check

  [cPrefix]   prefix (first letter) of file name
  (defaults to U)

  Examples:
  ---------
   cTempfile := UNIQFNAME("DBF")

   cTempfile := UNIQFNAME("NTX","C:\local\")

  Source:
  -------
  S_UNIQF.PRG


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson