|
on the Keymap assignment, enclose the map to the
right of the comparison in your quote character.
Note that quotes can be used on BOTH sides of the
comparison....But RSTYLE only suggests that you might want to add them to the
right of the comparison.
The following works...
SET ESCAPE OFFSET KEYMAP [f12] = '[Enter]' SET KEYMAP '[alt]z' = '[Enter]' PAUSE 2 SET VAR akey = (LASTKEY(1)) SET VAR bkey = (LASTKEY(0)) IF akey = '[F12]' THEN SET VAR vmsg = (.akey & 'was pressed') PAUSE 2 USING .vmsg AT CENTER CENTER ELSE SET VAR vmsg = (.bkey & 'was pressed') PAUSE 2 USING .vmsg AT CENTER CENTER ENDIF SET ESCAPE ON SET KEYMAP [f12] OFF RETURN
|
- Re: Need help with chkkey & getkey V6.5++ dos Michael Young
- Re: Need help with chkkey & getkey V6.5++ dos Ben Petersen
- Re: Need help with chkkey & getkey V6.5++ dos A. Razzak Memon
- Re: Need help with chkkey & getkey V6.5++ dos Bernard Lis
- Re: Need help with chkkey & getkey V6.5++ dos Michael Young
- Re: Need help with chkkey & getkey V6.5++ dos Michael Young
- Re: Need help with chkkey & getkey V6.5++ dos Ben Petersen
- Re: Need help with chkkey & getkey V6.5++ dos Ben Petersen
- Need help with chkkey & getkey V6.5++ dos J.M. GRATIAS
- Re: Need help with chkkey & getkey V6.5++ dos MikeB
- MikeB
