NET/MASTER Network Control Language (NCL) Programmer's Guide

Contents
viii 106160 Tandem Computers Incorporated
Section 3 An NCL Tutorial
Before You Start 3-2
Getting Started With NCL Procedures 3-4
Your First NCL Procedure—HELLO1 3-4
Features of HELLO1 3-18
The HELLO2 NCL Procedure 3-19
Features of HELLO2 3-19
The HELLO3 NCL Procedure 3-20
Features of HELLO3 3-21
Getting Started With Functions 3-22
The BUILTIN1 NCL Procedure 3-22
Features of BUILTIN1 3-22
The BUILTIN2 NCL Procedure 3-23
Features of BUILTIN2 3-23
The USERW1 NCL Procedure 3-24
Features of USERW1 3-24
The USERW2 NCL Procedure 3-26
Features of USERW2 3-27
Writing a MSGPROC NCL Procedure 3-28
The MESSGEN NCL Procedure 3-29
Features of MESSGEN 3-30
The MSGPROC NCL Procedure 3-31
Features of MSGPROC 3-33
MSGPROC and MESSGEN 3-34
What to Do Next 3-35
Section 4 Initial NCL Procedure Development
The Structure of an NCL Procedure 4-1
Layout and Scope of an NCL Procedure 4-1
Lines 4-1
Statements 4-3
Comments 4-4
Labels 4-5
Empty Statements 4-12