Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>sx_ismyrox():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Sx_IsMyROX():

  Syntax:   Sx_IsMyROX()

  Returns:  .T. if a Read-Only lock has been set on the currently active
            index (using the Sx_ROXLock() function) by you (meaning the
            network workstation that is calling this function at the time);
            .F. if not.

  Description:  This function is used to test if the currently active index
                has a Read-Only lock active on it that this work station
                activated.  The only network user who can unlock the index
                lock is the one who set it.  This function can't tell you
                who locked the index, but it can tell you if it was the
                user calling this function at the time.

    NOTE:  This function is NOT supported under SIXNTX.

  Example:

    // This code snippet demonstrates a simple test that can be used to
    // verify that you haven't left a Read-Only Lock active on an index.

    IF Sx_IsROXLock()              // Is Read-Only Index Locking Active?
      IF Sx_IsMYROX()              // If so, did this user lock the index?
        Sx_ROXUnLock()             // If so, unlock the index
      ELSE
        Alert("Index was locked by another user!")  // Display message
      ENDIF
    ENDIF


See Also: Sx_ROXLock() Sx_ROXUnlock() Sx_IsMyROX()

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