UNIQUE

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 18:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
Jump to navigationJump to search

UNIQUE

var := UNIQUE dir ext mode digits [ offset ]

-> var =: 'uniquefilename' without directory and extension or empty string

Generate a unique filename for the specified directory (use '*' for the current working directory). If a directory is specified, it is made the current working directory.

dir
The name of directory or '*'.
ext
The file extension.
mode
0 = count (decimal), 1 = random numbers (hex).
digits
The number of filename digits.
offset
The first index (for count mode only).

Navigation menu

Personal tools