[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_LKFISET()
 Lock file set
------------------------------------------------------------------------------
 Syntax
 
      fn_lkFiSet( [<nTimeout>] ) -> lSuccess
 
 Arguments

     <nTimeOut> is interpreted differently, depending on which
     lockmode the station is currently in.

     If the workstation is in "compatibility mode" (lock mode 0),
     then:

                  0     =  Don't Wait  (the default)
         Anything else  =  Wait

     If the workstation is in "extended lock mode" (lock mode 1),
     the  <nTimeOut> is optional number of 1/18th sec ticks to
     wait for the lock; 0 = don't wait (default).

 Returns

     <lSuccess>, .t. if the call succeeded, and .f. if it didn't.
     If the call fails, you can check fn_error() for one of the
     following:

          If you're in compatibility mode (lock mode 0),

                255      Failure

          If you're in extended mode (lock mode 1)

                254      Timeout failure
                255      Failure


 Description

     Use this call after all the files to be locked have been
     logged.  If this call succeeds, you've got all of them
     locked.  If any file can't be locked, this call will fail
     and no files will have been locked.

 Examples


 Source: N:\SRC\SYNCHRO\LOCKFILE.PRG

 Author: Glenn Scott

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson