Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculators TI BASIC Does anyone know what this syntax is?

  1. Mar 12, 2010 #1
    What does the '0' do in this command? ... I should be able to figure this out, but I am stumped at the moment :redface: It is prompting the user for an "E" value, then storing it in E and then....

    Code (Text):
    Request "E=",E,0
     
  2. jcsd
  3. Mar 12, 2010 #2

    Hurkyl

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    The manual should say. :wink:

    Executing the code might offer insight.


    But if I had to guess, I would say that it would use 0 as a default value. (e.g. if the user hit enter without typing in any data)
     
  4. Mar 13, 2010 #3
    Yeah, the manual is pretty terrible (i.e. wrong a lot of the time). I did figure this out though by trial and error. 0 turns alpha lock off, so that by default the user is entering a number and not a string.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: TI BASIC Does anyone know what this syntax is?
  1. Does anyone know? (Replies: 6)

Loading...