Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Advantage CA-Clipper Guide v5.5 - ax_isflocked() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_IsFLocked()
 Returns file lock status for a table
------------------------------------------------------------------------------

 Syntax

     AX_IsFLocked() -> logical

 Returns

     Returns a .T. if a SHARED table is currently locked with an
     Flock() by this user.  Otherwise, it returns .F.

 Description

     AX_IsFLocked() returns the status of the work area's file lock flag.
     This function returns the file lock status of the local work area.  It
     will not return the file lock status of another user's lock.

 Example

     USE test VIA "DBFCDXAX" SHARED     // Open TEST.DBF in SHARED mode
     ? AX_IsFLocked()                   // .F.

     FLock()                            // Lock the table
     ? AX_IsFlocked()                   // .T.


See Also: AX_IsLocked() AX_UserLockID()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson