Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_tmpname() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_TMPNAME()

 DESCRIPTION

 C_TMPNAME() builds a file name consisting of random numbers and
 letters that can be used as a temporary file name.  An optional
 mask may be supplied to specify how to build the file name.

 SYNTAX

 C_TMPNAME([mask])

 PARAMETERS

 mask (C) is a mask to specify how the file name should look when
 returned.  The mask allows only certain characters in the file name
 to be supplied.  The mask can be up to 12 characters in length and
 must contain the question mark (?) for every character that a
 random number/letter should be supplied (i.e. "????????.TMP").  If
 mask is not specified, the default of all characters (????????.???)
 is used.

 RETURNS

 C_TMPNAME() returns a file name built from random numbers and
 letters using the specified mask, if any.

 EXAMPLES

 c_tmpname()                --> 02B80H54.TMP
 c_tmpname("????????.TMP")  --> 41J53D71.TMP
 c_tmpname("RPT?????.DBF")  --> RPT80D82.DBF
 c_tmpname("????????.???")  --> 25H38D96.259
 c_tmpname("????")          --> 70C9


See Also: C_RANDOM()

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