Help for TEMPNAME

PURPOSE:

Tempname is used to add a process-specific extension onto a filename.
The extension starts with "ZZZ" followed by the process ID.  Tempname
can also be used to delete temporary files with matching extensions
from a directory.

EXECUTION:

Tempname has two subcommands: create and del.  The default is create
so you can just type tempname instead of tempname-create to access it.
The value of the OUT parameter must be declared as a local variable
first.  The form of this subcommand is:

	tempname INN OUT 

The form of the del subcommand is as follows:

	tempname-del [DIR]

The DIR parameter is the directory from which you want to delete the
temporary files.  It is optional and defaults to your current working
directory.  It deletes files with extensions starting with "ZZZ"
followed by the current process ID.  In UNIX leave off the trailing
'/' after the directory name because tempname puts that in.

REVISIONS:

	8-97 ...RRD... Wrote original version.


PARAMETERS:


INN

STRING Filename to add extension to.

OUT

STRING Completed filename.extension ! .SUBCMD DEL Delete temporary files.

DIR

STRING -OPTIONAL Directory of temporary files. .END

See Examples:


Cognizant Programmer: