UNIQUE

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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