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

Defining Field Characters in a Panel Description File
Working With Panels
106160 Tandem Computers Incorporated 14–43
The various ways output data can be manipulated and displayed are best described by
a series of examples. Study the #FLD statements in the following panel description
file and observe the results of displaying the panel on a screen:
1. Type the following NCL procedure in your user procedure library and call it
ZEX1408N:
zex1408n: PROCEDURE NOFOLD
/* Illustrates input padding and justification */
&variable1 = John
&variable2 = Janet
&variable3 = Jack
&variable4 = Jill
&variable5 = James
&variable6 = Joyce
&variable7 = 1A1
&variable8 = 1A1
&variable9 = 1A1
&variable10 = 1A1
&variable11 = 1A1
&variable12 = 1A1
&variable13 = 1A1
&variable14 = 1A1
&variable15 = 1A1
CMD PAGE
SAY "Pre-panel values are";GOSUB show
PANEL ZEX1408P
CMD PAGE
SAY "Post-panel values are";GOSUB show
EXIT
show: /* GOSUB routine to display values */
DO &i = 1 TO 15
SAY &variable&i
END /*do*/
RETSUB
END zex1408n