[TIB] Re: Keyboard input?!?!?!


[Prev][Next][Index][Thread]

[TIB] Re: Keyboard input?!?!?!




The way I always do this on the 83 is:

...
0 -> K
While K=0
getKey -> K
End
...

Because you don't use labels, you don't have to avoid
duplicate ones.

Rob van Wijk


>
> A loop that's similar to the C command, getch():
>
> I.e. it actively waits for you to push a key, not
> just return zero.
>
> Lbl Augh
> Getch /->/ K
> If K = 0
> Goto Augh
> ...more code here. probably deals with
> K.
>
> --SmartGamer
>

-- 
Sent through GMX FreeMail - http://www.gmx.net





References: