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


Syntax:     RLOCK()/LOCK()

Purpose:    To lock the current record in the current work area.

Returns:    A logical value.

            RLOCK() returns true (.T.) if you successfully lock a
            record.  Otherwise, it returns false (.F.).

Usage:      RLOCK() locks the current record in the current work area.
            The lock remains until you lock another record, UNLOCK,
            CLOSE the DATABASE, or FLOCK() the current database file.

            Note that RLOCK() does not lock other work areas in a
            relation chain or prevent other programs from displaying the
            record.

Library:    CLIPPER.LIB


----------------------------------- Example --------------------------------

   IF RLOCK()
      DELETE
   ENDIF


See Also: SET EXCLUSIVE USE UNLOCK FLOCK() Rec_lock()

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