Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

TEMPNAME( cPath )

Purpose

Create a uniquely named temporary file in any directory.

Arguments

     cPath -- directory in which to create the file

Setup

None.

Example

     LOCAL _tmp := TEMPNAME( AACURPATH() )
     ? _tmp          && Returns the full path and
                     && filename of a temporary
                     && file in the current directory.

Returns

If successful, the full pathname of the created file, otherwise a null
string.

Side Effects

Creates the file if successful.

Artful Calls

None.

Source File

AA_TMPFN.C

Notes

In a multi-user environment, the use of a predefined temporary file, such
as TEMP.DOC", is not possible. Use this function to guarantee that each
user will work with a different temporary file.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson