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–35
1. Type the following NCL procedure in your user procedure library and call it
ZEX1413N:
zex1413n: PROCEDURE
/* Displays a panel that uses #ALIAS */
&a.very.long.alternate.name1=Overtype this field with data
&a.very.long.alternate.name2=Do the same with this field
&a.very.long.alternate.name3="And with this too"
&a.very.long.alternate.name4="And once more - that's it"
&name=Further data
PANEL ZEX1413P
SAY "The first field you typed was: ",
&a.very.long.alternate.name1
SAY "The last usage of name is: "&name
END zex1413n
2. Type the following panel description file in your user panel library and call it
ZEX1413P:
#NOTE ZEX1413P
#ALIAS name vars=a.very.long.alternate.name* range=(1,4)
#NOTE % High intensity output fields
#NOTE + Low intensity output fields
#NOTE _ High intensity input fields
_name
_name
_name
_name
_name
3. Execute the ZEX1413N NCL procedure from the OCS command input line using
the following START command:
START ZEX1413N
4. Observe the results, as shown in the following screen:
OVERTYPE THIS FIELD WITH DATA
DO THE SAME WITH THIS FIELD
AND WITH THIS TOO
AND ONCE MORE - THAT'S IT
FURTHER DATA
5. Overwrite the first line only as shown next:
HERE IS SOME DATA WHICH SHOULD BE RETURNED
DO THE SAME WITH THIS FIELD
AND WITH THIS TOO
AND ONCE MORE - THAT'S IT
FURTHER DATA