Difference between revisions of "TMPNAM()"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
(Syntax)
Line 4: Line 4:
  
 
==Syntax==
 
==Syntax==
TMPNAM()
+
TMPNAM( [<expC1> [,<expC2>]] )
 
+
  
 
==See Also==
 
==See Also==

Revision as of 01:42, 17 June 2010

Purpose

Function to return temporary file name function


Syntax

TMPNAM( [<expC1> [,<expC2>]] )

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, Recital Server