|
Contents | Previous | Next | Subchapters |
| Syntax |
tempfile
|
| See Also | rmfile , exists |
tempfile returns a file name within the directory that
TMP specifies.
Otherwise, if the environment variable TEMP is defined,
tempfile returns a file name within the directory that
TEMP specifies.
If neither TMP nor TEMP is defined,
tempfile returns a local file name.
If you do not explicitly delete the file (for example using rmfile
),
it is automatically deleted when it you exit the O-Matrix session.
tempfile
O-Matrix will respond
C:\TEMP\TMP3.OMS
The exact number in the file name (3 above) may vary depending
what temporary files are already in the C:\TEMP directory.
(You can determine what environment variables are defined in your system
by selecting the system Control Panel | System | Environment dialog.)