SD>I was wondering if someone could help me I'm trying to Make a program that
i
SD>Arrow Key responsive But it doesn't seem to want to work
SD>What I need is the scan codes for "option". Could someone help?
SD>DO
SD> a$ = inkey$
SD> if a$ = option1$ then call sub1
SD> if a$ = option2$ then call sub2
SD>LOOP until a$ = "q" or a$ = "Q"
Gee, this is too easy.
CHR$(0) + "H" 'Up Arrow
CHR$(0) + "P" 'Down Arrow
CHR$(0) + "K" 'Left Arrow
CHR$(0) + "M" 'Right Arrow
As in : IF a$ = CHR$(0) + "H" THEN CALL uparrowsub
...and so on
* SLMR 2.1a *
--- Maximus 3.01
---------------
* Origin: The BandMaster, Vancouver, B.C., Canada (1:153/7715)
|