FILE.Lock

Previous  Next

 

state = FILE.Lock( [bState    AS INTEGER],

                  [bUpdateUI AS INTEGER=FALSE] ) AS INTEGER

 


 

Sets the MAXA$OPENED_FILES.LOCKED environment variable so that files can't be opend or closed while locked.  Function returns the current lock state.

 

If no parameters are supplied, the function returns the current lock state