TI BASIC Does anyone know what this syntax is?

  • Context: Calculators 
  • Thread starter Thread starter Saladsamurai
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Saladsamurai
Messages
3,009
Reaction score
7
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:
Request "E=",E,0
 
Physics news on Phys.org
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)
 
Hurkyl said:
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)

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.