LOTUSSCRIPT LANGUAGE


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

Syntax

CodeLockCheck (lockID)

Elements

lockID


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.

See Also