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
1
vote
5 answers

Is there a way to store a list when programming a TI-83+?

Out of curiosity, I'm beginning to learn how to program my TI-83+ calculator. Part of my latest program involves storing numbers in a list. How can I add items to a list on a TI-83+ and how can I loop over them/access them?
Amit
  • 19
  • 1
  • 6
1
vote
1 answer

TI Nspire BASIC - Extract coefficients from Equation

I intend to write a function in TI-BASIC on my CAS calculator that takes a mathematical expression (a quadratic specifically) as a parameter and 'completes the square'. To do this, I need to compute with the coefficients of the variable 'x' in the…
Anti Earth
  • 4,671
  • 13
  • 52
  • 83
1
vote
0 answers

isolate for variable in equation with the ti 84+ ti basic

I am making a system of equations solver. it works great, but I can't input any equation. It needs to already have the right side be y= so I can't do: 2x + 5y = 19 x -2y = -4 I have to simplify to: y = (19 - 2x)/5 y = (-4 - x)/-2 Is there any way…
benji bon
  • 31
  • 2
1
vote
0 answers

Is there a way to ensure a link is established before communicating between two USB-linked TI-Basic calculators using GetCalc()?

I am trying to make a program in TI-Basic on the TI-84 Plus CE in which two USB-linked calculators communicate with each other via retrieving variable values using the GetCalc() command, and I am trying to detect if there is a link between two…
idk
  • 11
  • 3
1
vote
1 answer

TI-BASIC: Why are there question marks in a menu?

I'm writing a program in TI-BASIC, for use on the TI-84+CSE, which begins with a Menu( operator for simplicity when it comes to choosing a branch. The menu, when the program is executed, displays question marks (?) for the final two elements which I…
1
vote
1 answer

How to limit the size of the block of code in an if-else statment? (TI-BASIC)

I have a problem where code—meant to be executed after an if-else statement—seems to be considered part of the else block. I have tried using the End operator to no avail. ClrHome Input "Dataset List (1-6)-->",L Input "Value ",X If L=1 and…
1
vote
1 answer

How to rewrite a variable in a for cycle for Ti-Basic

I'm trying to program a numerical method in my ti-89, in TI-Basic language, the problem is that when I overwrite the variable inside the loop it doesn't do it, I'm new to this language and I don't know if I'm omitting some detail…
1
vote
1 answer

Python3 translating to TI Basic Store function in for loop being weird (Fibonacci's sequence)

I just converted the Fibonacci's sequence from python3 to TI Basic but its acting kind of weird when I try to execute the function similar to "+=" operator to the iterator variable in python where I use the store function. Here is my TI code…
Sub 01
  • 28
  • 5
1
vote
1 answer

TI-BASIC library for creating nicer menus and UIs

I've been creating TI-BASIC apps for my calculator, but would love to upgrade the menu and interface from this default style: To something more like this, that I've seen in other apps: Other than coding those screens pixel by pixel using Pxl-On(),…
Simon East
  • 55,742
  • 17
  • 139
  • 133
1
vote
2 answers

Check if a list is defined and avoid the "UNDEFINED" error

In the original TI-BASIC (for TI-83/84+) is there a way to check if a list has been defined? Currently calling dim(⌊LIST) will return an error if the list is not defined. Is there a way to handle that error gracefully? Possible Workaround: The only…
Simon East
  • 55,742
  • 17
  • 139
  • 133
1
vote
1 answer

Comlpex if statement not working in tibasic

I'm making a game that requires some complex if statements, here is the code that doesn't work If K=25 and not(Y=1) and not([A](X,Y-1)=1) Then ... Other Code ... End but it works when I do If K=25 and not(Y=1) Then If not([A](X,Y-1)=1) Then ..…
1
vote
3 answers

How can I sort a list/matrix in a function?

When I try to use SortA and SortD in a function: Define test()= Func © Convoluted way of returning [0 1 2 4 5; 4 1 3 5 2] Local a,b a:=[1 5 2 0 4] b:=[1 2 3 4 5] SortA a,b Return colAugment(a,b) EndFunc I get the error Invalid in a function or…
Lauren Yim
  • 12,700
  • 2
  • 32
  • 59
1
vote
2 answers

Executing TI BASIC from a String

Is it possible to Execute TI BASIC from a string? Such that: execute(":Disp Str1") would Print out Str1?
Scraps
  • 13
  • 2
1
vote
1 answer

TI-Basic Outputs "ERR: ARGUMENT"

:Menu("FUNCTION","DIA TO RAD",1,"RAD TO DIA",2,"RAD TO AREA",3,"DIA TO AREA",6,"RAD TO CIRCUM",4,"DIA TO CIRCUM",5,"CIRCUM TO AREA",7,"CIRCUM TO RAD",8) I'm getting an 'ERR: ARGUMENT' output and when 'Goto' is selected it sends me to the closed…
Zieo
  • 33
  • 4
1
vote
2 answers

Is there a way to check how many times a variable appears in a range in ti-basic? (For a factor calculator)

This is the section that has the problem, I don’t change N.Input(“Enter number”, N) ... For(i, 1, N+1) Disp i
No No
  • 23
  • 4