Questions tagged [ti-basic]

TI-BASIC is the official name of a BASIC-like language built into Texas Instruments (TI)'s graphing calculators, including the TI-83 series, TI-84 Plus series, TI-89 series, TI-92 series, TI-73, and TI-Nspire. The capability to write programs in TI-BASIC is automatically built-in to Texas Instruments calculators.

Forms of TI-Basic

TI-Basic comes in three distinct forms, TI-83, 68K, and TI-NSpire. While these forms have much in common, they also have noticeable differences that make code written for one from almost completely incompatible with the others. For this reason it is important to explicitly state the form of TI-Basic you are using in any questions.

  • TI-83 Basic
    This is the most common form of TI-Basic. It refers the form of TI-Basic found on both TI-83 and TI-84 series of calculators. Even within this form of TI-Basic, there are variations in the availability of functions between calculators.
  • 68K
    This form of TI-Basic is far less common than TI-83 Basic. 68K TI-Basic is found on the TI-89, TI-92 and Voyage 200 calculators.
  • TI-Nspire
    Generally the least common form, this is only found on TI-Nspire series calculators. Due to the far superior processing power TI-Nspire calculators have, this form could have more potential than the others, but limitation in regards to input and output renders this form largely unused.

Resources

231 questions
5
votes
1 answer

TI Basic Numeric Standard

Are numeric variables following a documented standard on TI calculators ? I've been really surprised noticing on my TI 83 Premium CE that this test actually returns true (i.e. 1) : 0.1 -> X 0.1 -> Y 0.01 -> Z X*Y=Z I was expecting this to fail,…
Samuel
  • 594
  • 1
  • 6
  • 22
5
votes
4 answers

Multiple Language Programming on Ti-Calculator

I am interested into programming with different languages besides Ti-Basic (like Java, C, and Python) on my Ti-84 plus calculator. Does my calculator support this, and if not, are there any calculators on the market that would be able to do this?…
5
votes
4 answers

Naming a BASIC variable (TI-84) with multiple characters?

I am trying to create a simple BASIC program for my TI-84 that will calculate the midpoint of two given points. This is my current code below, which produces an error upon trying to run the program: :Prompt…
user1726923
  • 73
  • 1
  • 3
5
votes
1 answer

TI-84: call a function from the catalog with z88dk

I'm programming my TI-84 in C with z88dk. I need to call things like normalcdf and Ztest. I know they can be called from ti-BASIC, but how do I call them from C or inline assembly?
5
votes
2 answers

Simulating the randIntNoRep( command on the TI 83

The randIntNoRep( command has been released for the TI-84+/SE calculator on OS 2.53MP and above. The command is used when you need to create a list of numbers in random order in which no integer is repeated. It is very useful for shuffling a…
dgund
  • 3,459
  • 4
  • 39
  • 64
4
votes
1 answer

How are the TI operating systems coded not to have floating point error?

I ran a test on my graphing calculator to check for floating point error, and after forty eight hours of complete and utter randomness, the calculator had not lost a single digit of precision. How does TI pull this off?
user1131435
4
votes
1 answer

selecting matrices based on a variable

Is there a way I can use a command that selects a matrix to use based on a variable? Need in this / :If (way to select a matrix based on what variable L equals) (E,F)=1:Output E,F,"O I don't want to make a specific go-to for every single matrix I…
xclamation
  • 41
  • 1
4
votes
1 answer

How to return a value for a function in TI-89?

This is my function to calculate the gcd of two numbers a and b. When I use Prgm and EndPrgm, it worked fine. However, it kept popping up an error message say "Invalid in a function or current expression" when creating a function :(. Any idea? …
roxrook
  • 13,511
  • 40
  • 107
  • 156
4
votes
3 answers

How to display Hello World on a graphing calculator (on a screen)?

I am trying to make my graphing calculator display Hello, World! on the screen. How do I do this (I want to program a program to do this, as typing alpha, letter is inefficient)?
Coder
  • 1,175
  • 1
  • 12
  • 32
4
votes
2 answers

Finding the Seed of the rand() Function TI-84 Programming

I've done a lot of research on that TI-84 rand() function. It uses the L'Ecuyer's algorithm to generate pseudorandom numbers. I have an interesting case however. If the rand() function is given the proper seed, it will always generate the same…
Mattkx4
  • 199
  • 3
  • 16
4
votes
4 answers

Does optimizing code in TI-BASIC actually make a difference?

I know in TI-BASIC, the convention is to optimize obsessively and to save as many bits as possible (which is pretty fun, I admit). For example, DelVar Z Prompt X If X=0 Then Disp "X is zero" End //28 bytes would be cleaned up…
user3932000
  • 671
  • 8
  • 24
4
votes
1 answer

Prime factorization program (TI-84+)

I'm making a prime factorization program on my calculator. It works fine for smaller numbers, but it's showing strange behavior for 2^n, n≥47. It'll do fine for a while, but then at some point the program breaks down and after spitting out the prime…
user3932000
  • 671
  • 8
  • 24
3
votes
1 answer

Prevent TI BASIC expression expansion

I'm coding a function for my TI-Nspire CAS calculator. I have two parts of an expression: (x+2)^2 and +3. When the expressions are joined the result is expanded to x^2+4x+7 while I need it to remain as (x+2)^2+3. I've tried making both parts…
Anti Earth
  • 4,671
  • 13
  • 52
  • 83
3
votes
1 answer

TI-Basic Problems

I recently bought a TI-84 Plus CE, and have been making programs using TI-BASIC. I'm trying to make a simple text editor, and I need to convert character codes to characters. However, it seems that the char() command doesn't exist? Please Help!
3
votes
3 answers

How to use the arrow keys in a custom TI program

I have looked at as many functions as I can and I still can't find one that lets you intercept the click of a TI arrow key click.
Jackelope11
  • 1,181
  • 4
  • 15
  • 31
1
2
3
15 16