TI BASIC Does anyone know what this syntax is?

  • Calculators
  • Thread starter Saladsamurai
  • Start date
  • #1
3,003
2
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
 

Answers and Replies

  • #2
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
14,916
19
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)
 
  • #3
3,003
2
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.
 

Related Threads on TI BASIC Does anyone know what this syntax is?

  • Last Post
Replies
6
Views
2K
  • Last Post
Replies
16
Views
2K
Replies
28
Views
4K
Replies
1
Views
6K
Replies
4
Views
3K
Replies
4
Views
7K
Replies
7
Views
32K
Replies
2
Views
2K
Replies
1
Views
4K
Top