Calculator Community > TI-BASIC
TI-BASIC Q&A
hellninjas:
Is there an easier way to use the GetKey function?
Im kinda tired of WHILE 0...
parserp:
--- Quote from: hellninjas on November 19, 2011, 08:43:51 pm ---Is there an easier way to use the GetKey function?
Im kinda tired of WHILE 0...
--- End quote ---
? could you post some code? I'm not understanding your question... ???
hellninjas:
While 0 being the infinite loop statement...
While 0
getkey->A
While A=(KEY PRESS)
getkey->A
End
Im tired of the above implement...
parserp:
it is possible to just do this:
--- Code: ---:While 1
:If getKey=(key press)
:do something
:If getKey=(another press)
:do something else
:End
--- End code ---
hellninjas:
Hmm, thanks!
This will help my ZOMBASIC game!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version