Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>rec_lock()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
REC_LOCK()

    REC_LOCK() is used to lock records in a multi-user system.

    Syntax

    REC_LOCK()

    Required Parameters

    None.

    Return Value

    A logical value: True (.T.) if the lock was successful, or False
    (.F.) if unsuccessful.

    If the lock is initially unsuccessful, the user will be given the
    option to wait for availability in the same fashion as with
    NET_USE().  Likewise, a dazzling screen will keep them amused while
    they wait, and the Charge theme will be played when the lock is
    finally successful.

    Sample Usage

    IF REC_LOCK()             
       REPLACE name WITH mname
    ENDIF                     

See Also: ADD_REC() FILELOCK() NET_USE()

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