Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

FreeFileHandle( )

Action: Returns the first available file handle.
 
Syntax: FreeFileHandle ( )
 
Parameters: None.
 
Returns:
0 No file handle available.
> 0 Numeric file handle.
 
See Also: Open( ), Close( ), ReadLine( ), WriteLine( )
 
Example:

$Handle = FreeFileHandle()
IF $Handle > 0
   IF Open($Handle, @LDRIVE + "\CONFIG\SETTINGS.INI") = 0
      ;
   ENDIF
ENDIF