version 6.0.6
OP Set Semaphore (connectID; semaphoreName; semaphoreState) Longint
| Parameter | Type | Description | |
| connectID | Longint | Unique ID for the established connection | |
| semaphoreName | String | Name of the semaphore | |
| semaphoreState | Longint | State of the semaphore | |
| Function result | Longint | Error code |
Description
The command OP Set Semaphore sets semaphoreName and returns its current state in semaphoreState (1=semaphoreName is set, else 0).
See Also
OP Check Semaphore, OP Clear Semaphore.