filename

Prompts user to enter a filename and return it as a string.

Syntax

string filename(field-text)
string  field-text

Description

field-text

default string that is displayed in the field of the prompt box. The filename entered by the user is returned. If the user aborts by pressing Cancel, the function returns NULL.

Example

 {
 char fname[12];
 fname= filename("");                     /* prompt user for filename */
 }


Updated 19 May 1999. Copyright DataAspects Corp. 1998-1999