Calculators TI BASIC Does anyone know what this syntax is?

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
AI Thread Summary
The command in question prompts the user for an "E" value and stores it in the variable E. The '0' in the command likely serves as a default value, allowing the program to handle cases where the user does not input any data (e.g., by pressing enter). It has been noted that the manual for the command is often inaccurate. Through trial and error, it was determined that '0' also disables alpha lock, ensuring that the user inputs a number rather than a string.
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
 
Computer science 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.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...

Similar threads

Back
Top