Jump to content



Photo
- - - - -

Getkey


  • Please log in to reply
1 reply to this topic

#1 Qwerty.55

Qwerty.55

    Newbie

  • Members
  • Pip
  • 12 posts

Posted 13 October 2010 - 01:47 AM

I'm currently writing a series of tutorials linking TI-BASIC and Casio-BASIC. This is just something I want to address in the tutorial:
Does the GetKey function rely on OS interrupts to function? I mean, if you call GetKey and are using the value directly in a computation, will the value of GetKey change if the user presses a button? For example, will these routines produce different results if the user presses a button halfway through the computations during them?

GetKey->A
Sin(A)->B

Sin(GetKey)->B

#2 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 16 October 2010 - 04:54 PM

For example, will these routines produce different results if the user presses a button halfway through the computations during them?

Yes.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users