Programmer Guide/Command Reference/UNIQUE: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
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).