TI BASIC Does anyone know what this syntax is?

  • Calculators
  • Thread starter Saladsamurai
  • Start date
  • #1
Saladsamurai
3,019
6
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,967
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
Saladsamurai
3,019
6
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.
 

Suggested for: TI BASIC Does anyone know what this syntax is?

  • Last Post
Replies
5
Views
489
  • Last Post
Replies
5
Views
511
Replies
7
Views
614
  • Last Post
Replies
2
Views
513
  • Last Post
Replies
6
Views
550
Replies
31
Views
296
Replies
11
Views
734
Replies
13
Views
853
  • Last Post
Replies
3
Views
572
Top