FILE.GetStatus

Previous  Next

 

status = FILE.GetStatus( nIndex AS INTEGER ) AS INTEGER

 


 

Returns the status of the specified file.  The file is specified as the file number,  The file numbers always starts at 1. 

 

The returned status can be one or more of the following constants:

 

CONST ST_SELECTED             = 0x0001

CONST ST_SHARED               = 0x0002

 

If nIndex is set to ST_ALL_FILES then the function will return the FILE.Lock state

 

CONST ST_ALL_FILES            = -1