Syntax
BD>elock : [-](S ) [, [-](S )] ...
where are expectation storage numbers.
The ELOCK: command is used to lock and unlock specified expectation
storage areas. If the argument S is preceded by the symbol `-', the
expectation store number S is `unlocked', otherwise it becomes `locked'.
When an expectation store is locked, expectations usually constructed via
BUILD: or COBUILD: commands are not constructed, and so
do not overwrite the values already present. It remains possible to
specify directly expectations for locked storage areas. By default, all
expectation storage areas are unlocked. The stores operand can be used
to obtain the total number of expectation stores.
The ELOCK: command is often used when we want to build two
alternative expectation specifications for a collection of
quantities in stages, and also when we have output adjusted
expectations
to an expectation storage area which we want to be retained.
Beware that some controls force the unlocking of specified expectation
stores. In particular, when the ae and scae controls
are used to direct adjusted expectation output from an adjustment or a
scan to an expectation store, the given expectation store is unlocked.