TI BASIC Does anyone know what this syntax is?

  • Calculators
  • Thread starter Saladsamurai
  • Start date
In summary, the '0' in this command prompts the user for an "E" value and stores it in the variable "E" as a default value, disabling the alpha lock and allowing the user to enter a number instead of a string. The manual may be unreliable, but executing the code and trial and error can provide insight on its functionality.
  • #1
Saladsamurai
3,020
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
 
Computer science news on Phys.org
  • #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)
 
  • #3
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.
 

FAQ: TI BASIC Does anyone know what this syntax is?

What is TI BASIC syntax?

TI BASIC syntax refers to the set of rules and structures that govern the writing of programs in TI BASIC language. It includes commands, functions, and keywords that are used to create programs on TI-83 and TI-84 calculators.

Can you give an example of TI BASIC syntax?

Yes, an example of TI BASIC syntax is the "Disp" command, which is used to display a value or string on the calculator's screen. The syntax for this command is "Disp value" or "Disp "string"."

Is TI BASIC syntax similar to other programming languages?

Yes, TI BASIC syntax is similar to other programming languages in terms of using commands and functions to create programs. However, it has its own unique syntax and limitations due to being designed specifically for TI calculators.

Do I need to know TI BASIC syntax to use a TI calculator?

No, you can still use a TI calculator without knowing TI BASIC syntax. However, learning the syntax can greatly expand the capabilities of your calculator and allow you to create your own programs.

Where can I learn more about TI BASIC syntax?

You can learn more about TI BASIC syntax by referring to the user manual or online resources provided by Texas Instruments. There are also various online communities and forums where you can ask questions and learn from others who are familiar with TI BASIC syntax.

Similar threads

Replies
5
Views
5K
Replies
6
Views
5K
Replies
6
Views
3K
Replies
1
Views
861
Replies
10
Views
25K
Back
Top