Description
Gets a list of the currently open files, as file IDs
Use this command to get how a list of the files you have opened using the fileOpen command. The list is returned as an array of integers, containing the file IDs of the open files.
Functional area
Disk I/O
Command syntax
Syntax
getFiles |
Arguments
None
Flags
None
Return value
integer array
Examples
int $idArray[] = `getFiles`;
int $count = `getCount $idArray`;
// Print out the number of open files
print ( "You have " + string( $count ) + " files open" );