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–39
To observe the affect of variable-level justification and padding, follow these steps:
1. Type the following NCL procedure in your user procedure library and call it
ZEX1406N:
zex1406n: PROCEDURE
/* Illustrates variable-level justification */
/* and padding */
&variable = DATA
PANEL ZEX1406P
END zex1406n
2. Type the following panel description file in your user panel library and call it
ZEX1406P:
#NOTE ZEX1406P
#NOTE Illustrates variable-level justification and padding
#FLD * VALIGN=LEFT
#FLD $ VALIGN=RIGHT
#FLD ^ VALIGN=CENTRE
#FLD @ VALIGN=LEFT PAD=[
#FLD ? VALIGN=RIGHT PAD=]
#FLD / VALIGN=CENTRE PAD=.
*&variable Left variable null
$&variable Right variable null
^&variable Center variable null
@&variable Left variable pad
?&variable Right variable pad
/&variable Center variable pad
3. Execute the ZEX1406N NCL procedure from the OCS command input line using
the following START command:
START ZEX1406N