KEYCMD Key Command
170
180
190
200
210
220
230
240
250
260
270
280
290
300
310
320
330
340
350
360
370
380
390
400
410
420
430
440
450
460
470
OUTPUT
718;"%,";
OUTPUT
718."(6".
OUTPUT
718;"IF'C.OUNTRY.EQ.O
THEN;";
OUTPUT
718;"KEYLBL
l,%KSAD%;";
OUTPUT
718;"ELSE;";
OUTPUT
718;"KEYLBL
l,%QSAD%;";
OUTPUT
718;"ENDIF;";
OUTPUT
718*"@-"-
9
,,
!
OUTPUT
718;"KEYCMD
2,";
OUTPUT
718;"X";
OUTPUT
718;"IF
C-OUNTRY,EQ,l
THEN;";
OUTPUT
718;“MOV
CF,l05.3MHZ;MOV
SP,300KHZ;";
OUTPUT
718;"MOV
C,OUNTRY,O;";
OUTPUT
718;"ELSE;";
OUTPUT
718;"MOV
CF,lOO.lMHZ;MOV
SP,300KHZ;";
OUTPUT
718;"MOV
C-OUNTRY,l;";
OUTPUT
718;"ENDIF;";
OUTPUT
718;"%,";
OUTPUT
718;"O";
OUTPUT
718;"KEYENH
2,";
OUTPUT
718;"/";
OUTPUT
718;"COUNTRYI";Ul$;"YES";Off$;"
NO";
OUTPUT
718;"/";
OUTPUT
718;",0,";
OUTPUT
718;"!";
OUTPUT
718;"IF
CmOUNTRY,EQ,O";
OUTPUT
718;"!
;'I;
OUTPUT
718*"@-"*
,
,,
!
END
Description
The KEYCMD command updates the label whenever the
softkey
is pressed (as shown in
example 2).
The functions of KEYCMD and KEYDEF are similar. The advantage of KEYCMD is that the
label of the softkey can change dependent on a conditional statement without the softkey itself
being pressed. KEYCMD is useful for indicating the state of a function in the spectrum analyzer
by changing the appearance of the
softkey.
Programming Commands 5-249