TMPNAM()

From Recital Documentation Wiki
Revision as of 15:03, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TMPNAM()

Class

Disk and File Utilities


Purpose

Function to return temporary file name function


Syntax

TMPNAM()


See Also

GETENV(), GETGID(), GETUID(), GETPID(), RAND()


Description

The TMPNAM() function returns a character string containing a unique temporary filename. Filenames returned by the TMPNAM() function have the extension ".tmp". The TMPNAM() function is particularly useful in multi-user applications where a unique temporary file can be created for each process.


Example

name = tmpnam()
report form Listing for event = "BALLET" to file &name
print &name


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer