basic.locked

Definition/BASIC Program, Releases: AP and R83 3.1

Takes 'locked' path when group/item lock encountered.

Syntax

locked statement.block

Description

used when the requested item is locked and waiting is not desired.

See the 'read' statement.

Example

read cust.item from fv.cust,id locked print id:' is locked by port
':system(0)

See Also

Command Name Type Description
basic.read Statement Reads item into dimensioned or dynamic array.
basic.readv Statement Reads one attribute and assigns to value.
basic.matread Statement Reads item into dimensioned array.
basic.then Statement In-line initiator.
basic.then/else.construct Definition provide program flow change based upon a boolean condition.
statement.block Definition one or more statements that follow a Pick/BASIC decision-path related token such as, but not limited to, 'then', 'else', 'locked' and 'onerr'.
tcl.list-locks_rp Verb: Access Displays status of all locks.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.