Example 2
KEYENH Key Enhance
Use the KEYENH command to turn on inverse video for the upper label line of softkey number
1.
Ul$=CHR$
(IS)
IJff$=CHR$(lS)
OUTPUT
718;"VARDEF
I,NV,O;"
OUTPUT
718;"VARDEF
M-OVENH,O
. II
9
OUTPUT
718;"KEYENH
l,%MY
KEY
EQ,I,NVO,QIF
O,Eq,M,OVENHO;" I";Ul$;"ON";Off$;"
OFF%,@IF
0,
Example 3
Defines
UL$
as the char-
acter to turn the under-
line on.
Dc#n-e.s
OFF$
as the char-
acter to turn oflinverse
video and underlining.
The value of I-NV acts
as a inverse video condition.
The value of
MSOVENH
acts as the move enhance-
ment condition.
The MY KEY
label
line
changes to inverse video,
and OFF (in the lower
label
line) is underlined.
Changing the condition of the inverse video mode to false turns off the inverse video.
Ul$=CHR$(lG)
Off$=CHR$(lS)
OUTPUT
718;"MOV
I,NV,O;"
OUTPUT
718;"MOV
M,OVENH,l;"
OUTPUT
718;"KEYENH
l,%MY
KEYl";Ul$;"ON";Off$;"
OFF%,OIF
0,
EQ,I,NVO,QIF
O,EQ,M,OVENHQ;"
B@ses
UL$
as the char-
acter to turn the under-
line on.
D@hes
OFF$
as the char-
acter to
turn
oflinverse
video
and underlining.
Changes the conditional
vo9ue
of
MmOVENH.
The ON portion of the
lower label is underlined,
the
My
KEY portion of
the
label
is still in in-
verse video.
Programming Commands 5-257