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
17
votes
4 answers

TI-84 Plus Random Number Generator Algorithm

Edit: my main question is that I want to replicate the TI-84 plus RNG algorithm on my computer, so I can write it in a language like Javascript or Lua, to test it faster. I tried using an emulator, but it turned out to be slower than the…
Potassium Ion
  • 2,075
  • 1
  • 22
  • 39
16
votes
1 answer

TI Assembly: differences between nostub, Ion, MirageOS, and z88dk C

I'm new to the TI programming platform. I hope to get some pointers on what's my best route for this. I'm required to produce a series of arithmetic and graphing functions compatible across TI-83(p) and 84p models. I was delighted to find a wealth…
Anton A
  • 171
  • 5
12
votes
3 answers

TI-Basic: How do you get an equation as an input?

I was playing around with programming on my TI-84 in math class today and I decide to try to write a program that reads an equation and than does a few things with it. But I'm having trouble reading an equation. I tried :Prompt Y1 but I kept getting…
Adam P
  • 4,603
  • 6
  • 31
  • 40
9
votes
5 answers

Display variable and string on same line (TI-Basic)

In most programming languages, you can mix and match strings with variables during output. However, I can't seem to find a good way to do so. Here is my code: Prompt A,B √(A^2+B^2)->C If iPart(C)≠C Then Disp "C = √(",C Else Disp "C = ",C End Goto…
jaysoncopes
  • 805
  • 3
  • 13
  • 26
8
votes
4 answers

How do I remove the 'Done' message after my program has executed?

I made a program that is similar to clearing RAM. However, it always leaves a "Done" message followed by a dotted line after being executed. In addition, if you scroll up, you can see that the program was executed. Is there a way to remove both of…
user1440897
7
votes
2 answers

How to create TI-BASIC (TI-84+) input forms?

In the TI-BASIC programming language (Specifically TI-84+), how do you create input forms, such as the ones included in the default apps on the TI-84+. The image included here shows an example of what I'm trying to create: A menu that you can…
Psifrost
  • 107
  • 7
6
votes
2 answers

How can I test the length of all the characters in a list and adjust the location of Output( based on the length?

I wrote a program to roll stats for D&D 5e characters. It rolls 4d6 and drops the lowest and adds that value to a list. It repeats this for a total of 6 times and then outputs the result to the screen. I want to be able to center the output so it…
6
votes
2 answers

How do I iterate through a list in a TI-83 calculator program

I created a set of programs to calculate the area under a graph using various methods of approximation (midpoint, trapezoidal, simpson) for my Calculus class. Here is an example of one of my programs (midpoint): Prompt A,B,N (A-B)/N->D Input "Y1=",…
James T
  • 1,079
  • 3
  • 13
  • 17
6
votes
2 answers

Optimal Method of Checking Keypresses on TI-89

for an experiment I decided to program a little game into my TI-89 using the built in program editor, however I cannot figure out an optimal method of getting keystrokes without significant delay. Currently I have: Prgm 70→xpos 70→ypos Loop If…
6
votes
2 answers

Extract variable's value from solve

I'm trying to write a function for a TI-Nspire cx cas calculator. I have to solve a large system, using the built-in solve function. I want to save the result of solve in some variables. For example, if the result is u1=2 and u2=3, I would like to…
6
votes
2 answers

How to add a line in the middle of the program in TI-Basic Editor?

I am writing a simple Pong game in TI-Basic but the editor won't let me insert a line into the code I've already written. For example print "Hello world" <--Where I want to insert the code print "hello again" x = 5 If I try to insert code it simply…
user3674739
  • 57
  • 1
  • 2
  • 7
6
votes
3 answers

Why is TI-Basic so slow?

I decided to implement a program that can find the GCD of any two numbers (including non-integers) in TI-Basic. I've used this just fine in Java, so I know it works. It works just fine in TI-Basic, but when compared with the built-in gcd( function,…
Ky -
  • 30,724
  • 51
  • 192
  • 308
5
votes
1 answer

How can I run a java program I wrote on a TI-84 Plus calculator?

I wrote a simple java program in which I input two numbers and then a little bit of information is printed in the console. Do any of you know how I could run this on a TI-84 Plus calculator?
5
votes
3 answers

Minimalistic approach for a Snake-style game

I received my TI-82 STATS programmable calculator (which is in fact more of a TI-83) about two days ago - and wanted to program a Snake game with the builtin TI-BASIC language. Although I had to find out: TI-BASIC is extremely slow. My first…
Carx
  • 51
  • 2
5
votes
2 answers

Checking Calculator Type in TI-BASIC

I've been looking to make a program in TIBASIC that can evaluate what kind of calculator the code is running from, no assembly. Since I don't think there's anything that would get information from the about screen. Here's one piece of code I came up…
Julian Lachniet
  • 223
  • 4
  • 25
1
2 3
15 16