Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






CodeLockCheck function

Returns the number of agents waiting for the the specified lock, plus 1.

Syntax

CodeLockCheck (lockID)

Elements

lockID

ID of lock to be checked (assigned by LotusScript through CreateLock)

Return values

A Long value indicating the sum of the agents that have the lock and are waiting for the lock.

Usage

A sample return value of 4 would mean that one agent has the specified lock and three other agents are waiting for it. Zero indicates the lock is not locked.

Related topics
LotusScript Language Reference: A through D
CodeLock function
CodeUnlock function
CreateLock function
DestroyLock function




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009