Stores all open file handles created with FCreateEx or FOpenEx into an array.

AFHandlesEx(cArrayName)

Parameters

cArrayName

The name of the array as a string into which the function should store the file handles.

Structure of array:

ColumnContent
1HANDLE to file, communication port, pipe etc.

Return Value

The number of file handles.

Example

Copy code
&& currently open file handles
LOCAL laFileHandles[1]
? AFHandlesEx('laFileHandles')

See Also

Reference

FChSizeEx
FCloseEx
FCreateEx
FEoFEx
FFlushEx
FGetsEx
FLockFile
FLockFileEx
FOpenEx
FPutsEx
FReadEx
FSeekEx
FUnlockFile
FUnlockFileEx
FWriteEx