As pointed out in Sequence of Statements, the scope of definition for a "general circuit" begins at the Start Circuit Statement and stops at the End Circuit Statement, inclusively. The concept of the scope of definition is formally defined in this section.
In this topic:
The scope of definition of the main circuit, which is the highest level of any circuit specified in the input file, ranges from the title statement to the .END statement, inclusively.
The scope of definition for a subcircuit ranges from its start at the subcircuit statement to the .ENDS statement that terminates it, inclusively. The user is reminded that it is possible for several subcircuits to share the same .ENDS statement to terminate their definition. The scope of definition of a child subcircuit must be inside the scope of definition of its parent circuit.
|◄ Subcircuit Definition||Scope of Definition for a Device and for a Node ▶|