NET/MASTER Network Control Language (NCL) Programmer's Guide
Contents
106160 Tandem Computers Incorporated ix
Writing NCL Procedures 4-12
Creating and Modifying an NCL Procedure 4-12
Deleting an NCL Procedure 4-12
NCL Procedure Size 4-13
Performing a Test Compilation 4-13
NCL Procedure Libraries 4-15
Source Files and Object Files 4-15
System Procedure Libraries and Files 4-15
User Procedure Libraries 4-18
Displaying Information About NCL Procedures 4-22
Displaying the Names of NCL Procedures 4-22
Displaying the Contents of NCL Procedures 4-24
Section 5 Controlling Execution Flow
Single and Repetitive Execution 5-2
Single Execution With the DO and END Statements 5-2
Repetitive Execution Using Counters 5-3
Repetitive Execution Using Conditional Clauses 5-12
Combining Counters and Conditional Clauses 5-17
Executing a Loop Forever 5-18
Nesting DO Loops 5-19
Using Labels on a DO Statement 5-21
Iterating and Leaving a DO Loop 5-21
Conditional Execution 5-25
The IF Statement 5-25
The SELECT and END Statements 5-29
Explicit Branching 5-35
The GOSUB and RETSUB Statements 5-35
The SIGNAL LABEL Statement 5-37
The GOTO Statement 5-38
Label Searching 5-39