
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_isflock()
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_ISFLOCK()
Returns
Logical true if the currently selected file is locked at the current
station, or if the file is open in Exclusive mode.
Logical false if the currently selected file is not locked at the
current station, or if no file is open in the currently selected work
area.
Description
This function enables you to determine if a file is locked by the
current station without actually applying a file lock. Note that even
when the function returns false, it is still possible that a record is
locked.
Example
IF ! N_ISFLOCK()
DO WHILE ! RLOCK()
ENDDO
ENDIF
See Also: N_CHECKF() N_ISRLOCK()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson