set variable value
set object.variable value
unset object.variable
CRE uses variables to control how the program works, including how method are rung and printed. These variables may be set either globally or local to a particular method or block.
Variables are set globally using the set command; for example to show bells 1 and 4 with trace lines on all methods:
CRE> set tracebells 14
To set a variable only for a particular method or block, then its id must be prefixed to the name; for example to show bells 1 and 4 with tracelines for just block pb5:
CRE> set pb5.tracebells 14
Settings for method or block level variables may be cancelled by using unset; for example to revert the trace lines of block pb5 back to the global setting
CRE> unset pb5.tracebells
Unsetting a variable globally is not permitted; to do so would have an adverse effect on the functioning of CRE.