Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_funique( [ <cdir> [, <cext> ] ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_FUNIQUE( [ <cDir> [, <cExt> ] ] )


Parameters

<cDir>
Directory to create file in. Default is the current directory.

<cExt>

File extension to add to file name. Default is no extension.


Returns

A eight-character base file name plus the extension, if any, specified 
in <cExt>.


Description

If <cDir> is specified, the file name will be unique in that directory. 

N_FUNIQUE() with no parameters creates a unique named file, without an 
extension, in the current directory.


Example

// Create a temporary .DBF file of clients in Washington
X = N_FUNIQUE('APPL\DATA', '.DBF')
COPY TO (X) FOR CUST_STATE = 'WA'
USE(X)





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