The UNLOCK statement releases a previously LOCKed execution lock. It takes the general form:
If specifying expression, it should evaluate to the number of a held execution lock, for release.
If omitting expression then it releases all execution locks held by the current program.
There is no action if the program attempts to release an execution lock that it had not taken.
An example of use is as:
LOCK 23 ; LOCK 32 ...... UNLOCK
See also: LOCK.
Go back to jBASE BASIC.