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

The Structure of a Panel Description File
Working With Panels
106160 Tandem Computers Incorporated 14–5
The Structure of a
Panel Description File
A panel description file has two distinct parts: the control part and the display part.
The control part and display part are clearly indicated in the following panel
description file:
#NOTE ZEX1402P <--+
#NOTE Displaying a menu. |
#NOTE Standard field characters are: |
#NOTE % high-intensity (output) |
#NOTE + low-intensity (output) |Control
#NOTE _ high-intensity (input) |Part
#FLD ~ TYPE=OUTPUT INTENS=HIGH JUST=CENTER PAD=- |
#FLD [ TYPE=INPUT INTENS=HIGH HLITE=USCORE EDIT=NUM RANGE=(1,5) |
#ERR ALARM=YES INTENS=HIGH HLITE=USCORE COLOR=RED |
#OPT ALARM=YES <--+
~ABC PRIMARY MENU <--+ 1
+Select Option% ===> [S+ | 2
%&SYSMSG | 3
% 1+HELP+ | 4
% 2+Option 2+ | 5
% 3+Option 3+ | 6
% 4+Option 4+ | 7
% 5+EXIT+ | 8
| 9
| 10
|Display
|Part
| 13
| 14
| 15
| 16
| 17
| 18
| 19
| 20
| 21
%F3=Exit F4=Return <--+ 22
The Control Part of a Panel
Description File
The control part of a panel description file consists of panel control statements. Panel
control statements define a panel. They determine how the display part of a panel is
displayed on a screen. Panel control statements are listed in Table 14-2, earlier in this
section.
Panel control statements must precede the display part of the panel description file.
All panel control statements begin with a number sign (#), which must be in the first
column of a line. Panel control statements are not displayed when a panel is
displayed. (If a panel control statement is mistakenly displayed on the screen, it may
mean that its number sign is not in the first column of the screen or that you have
included the panel control statement in the display part of the panel description file.
In these cases, the panel control statement does not control panel display.)
Note You can write a panel description file without any panel control statements if you wish.