FILE Create New File from File Descriptor
Format
FILE file_info[,ERR=stmtref]
Where:
file_info | Contents provide the internal file description for the file to create. String expression. |
stmtref | Program line number or statement label to which to transfer control. |
Description
Use the FILE directive to define a file based on the contents returned by the FID( ) or FIB( ) functions. These functions return character strings with the file type, size and format.
See Also
FIB( ) Return File Information Block
FID( ) Return File Information Descriptor
PURGE Clear Data from a File
REFILE Clear Record from File
[WDX] Direct Action to Client Machine
Example
open (2)"PRNTFL"
F$=fid(2)
close (2)
erase "PRNTFL"
file F$
open (2)F$(25,60)