uttempfl.wbb - Create and Open a Temporary String File

Syntax

CALL "uttempfl.wbb", tempfile$, tempchan

Description

This low-level routine is used in the Win-CGI environment where temporary files are sometimes needed. It can also be used when files are uploaded and parsed through utcgi.wbb, or by the application developer, if a temporary string file is needed.

Parameter

Description

tempfile$

Returns the name generated for the file. If the environment variable "TEMP" is defined, it is assumed to point to a temporary file directory. Otherwise, in UNIX the "/tmp" directory is used, and finally, the current directory "." is used. To override this directory selection, create a global string (STBL) called $tempdir, and set its value to the directory to be used.

tempchan

Returns the channel number used to open the file.