Tree Traversal Rules
Command headers are created by traversing down the command tree. A
legal command header from the command tree in figure 4-1 would be
:MMEMORY:INITIALIZE. This is refered to as a compound header. As
shown on the tree, branches are always preceded by colons. Do not add
spaces around the colons. The following two rules apply to traversing the tree:
•
A leading colon (the first character of a header) or a terminator places the
parser at the root of the command tree. For example, the colon preceding
MMEMORY (:MMEMORY) in the above example places the parser at the root
of the command tree.
•
Executing a subsystem command places you in that subsystem until a
leading colon or a terminator is found. The parser will stay at the colon
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
Programming and Documentation Conventions
Tree Traversal Rules
4–7