This control block begins with a line containing only the string
.controland ends with a line containing only
.endci.e., the standard form for a WRspice control block (see 2.10.1).
The enclosed lines are WRspice script statements that perform a logical comparison of circuit variables and set the checkFAIL variable accordingly.
The control block can also be supplied as a bound codeblock. This is accomplished, for example, with the command
codeblock -ab filenamewhere filename is the name of a file which contains the statements to be used in the control block. If a .control codeblock is bound to the circuit, the bound block is executed rather than any locally specified control block.