I'm looking for a quick key query and jump with gosub.
How can my key query be made faster please?
Thanks.
greeting
Code: Select all
START:
GET A$
B=ASC(A$)
IF B=88 THEN GOTO WEITER
IF B=81 THEN GOSUB SPRLI
IF B=69 THEN GOSUB SPRRE
IF B=87 THEN GOSUB SPRUP
IF B=83 THEN GOSUB SPRDOWN
IF B=82 THEN GOSUB SCRLINKS
IF B=84 THEN GOSUB SCRRECHTS
GOTO START
SPRLI:
...
...
return
SPRRE:
.....
......
return