<<

Contents

Search

>>

 

TEMPNAM$

 

 

Function

 

 

Syntax:

TEMPNAM$[(<Ending>[,<Directory>[,<Delete>]])]

 

<Ending>

= <STRING-EXPRESSION>

<Directory>

= <STRING-EXPRESSION>

<Delete>

= <NUM-EXPRESSION>

 

 

Meaning:

Returns a temporary filename.

 

Parameter:

Ending

Specifies how the filename ends.

 

Directory

Specifies in which directory the temporary file will be created.

If the parameters <Ending> and <Directory> are missing and the environment variable EBUSTMP is specified, the temporary file is created in the directory that is specified by EBUSTMP.

 

Delete

If <Delete> <> 0, the temporary file is automatically deleted at the end of the program.

 

Sample:

TMP_DATEI1$ = TEMPNAM$

TMP_DATEI2$ = TEMPNAM$("tmp")

TMP_DATEI3$ = TEMPNAM$("tmp","c:\test",1)