Scope of Definition

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 for the Main Circuit

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

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.