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>filelock()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FILELOCK()

    FILELOCK() is used to lock files in multi-user systems.

    Syntax

    FILELOCK()

    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 FILELOCK()
       DO reports
    ENDIF        

See Also: ADD_REC() NET_USE() REC_LOCK()

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