If a required node is not found, DecisionPro searched the parent's class level, and then the parent's parent's class level, and so on until all required nodes are found. If, however, you had created a node named PI in the User level, this version of PI would be the first found and the one applied in the current command. Commands executed at the Model level know nothing about any nodes residing in the User level. Similarly, commands executing in the User level know nothing about any nodes in the LibraryModel1, LibraryModel2, and other dynamically-created model levels. But, User class commands can access the root nodes of any library model because the root is located in the Model class.
Nodes created in a temporary class are visible only to expressions also evaluated within the braces.
Also, these nodes are deleted when the end brace is encountered. Enclosing a series of definitions and other expressions within braces is much like creating a subroutine where definitions are local to the subroutine and do not interfere with other nodes in the system that have the same name. Copyright 2000, Vanguard Software Corporation. All rights reserved.