FREEFILEHANDLE

Action

Returns the first available file handle.

 

Syntax

FREEFILEHANDLE ( )

 

Parameters

None

 

Returns

 

0

No file handle available

>0

File handle

 

Example

$Handle = FreeFileHandle()

IF $Handle > 0

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

ENDIF

ENDIF