Wang 2236DW Maintenance Manual page 65

Integrated terminal
Table of Contents

Advertisement

III.D. 1H-2A
III.D. 1M-2A
Special Uses of Alternate Display Attributes
1.
LIST D
The CPU sends out a HEX(OE) at the beginning of each REHJ statement
in the program. Thus, comment statements appear in the most
recently selected alternate display attribute.
2.
100 PRINT "PROMPT";:
LINPUT HEX(OE), A$:
PRINT A$
The field to be entered appears in the most recently selected
alternate display attribute. When entry is terminated with a
carriage return, the alternate attribute is canoelled, so the PRINT
statement prints A$ in normal intensity.
3.
150 PRINT HEX (OE) ; "PROMPT" ; HEX (OF) ;
160 LINPUT A$
••
This time, only the prompt appears in the most recently selected
alternate attribute.
Sunaary of Display Attribute Rules
The following list contains the general rules for governing the use of
display attributes.
1.
HEX(02 04 xx yy OE) selects and aotivates a display attribute.
Attributes activated in this manner are turned off only by HEX(OF)
or by another HEX(0204 ••• sequence.
The attribute is not turned off
by carriage return, HEX(OD). Thus, it is possible to highlight a
portion of either one or several lines.
2.
HEX(02 04 xx yy OF) selects, but does not activate, a display
attribute.
Normal intensity is activated instead •
9-3

Advertisement

Table of Contents
loading

Table of Contents