Re: getKey Help


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

Re: getKey Help



While 1
getKey->A
if A=21:goto 1
End


this will sit in a loop forever until you press the 2ND key, then it will
goto LBL 1, the -> is the store to var thing.


And, heres a little program thats easier then looking up what key has
what value:


While 1
getKey->A
if A>0:Disp A
End


Just run it and hit some keys :)






On Fri, 27 Sep 1996, |{0M0 wrote:


> I am new in the world of TI Programming and need some help with my
> first TI-Basic program.  The problem is that I need command that when
> you press a key it goes to a Lbl.  Can someone please help me.  Please
> post and example or some kind of help.
>
> Thanx in advance,
> Matt Neal
>
>


References: