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
3 answers

Is there a way to add code to an infinite z80 assembly loop?

A while ago, I asked what the fastest infinite loop was on a TI-84. One of the answers I got involved using an assembly infinite loop with this code: AsmPrgm 18FE However, this is a bit impractical, because it can only be exited with the reset…
Johnny Dollard
  • 708
  • 3
  • 11
  • 26
1
vote
1 answer

Tycoon script for TI-84 Calculator

I made a Tycoon script for TI-84 Plus CE and I don't think it's really good. I'm not that good at calculator programming and I don't know much. I just learned some from a friend and a couple YouTube videos. I was wondering, does anyone know how I…
1
vote
1 answer

TI-84 corrupted programs

So I got a TI-84 calculator a few months ago. As of this morning, I had 30 programs that I wrote myself stored on it. The largest size program was slightly over 200, with the vast majority being under 100. The RAM Free was about 14900, and the ARC…
1
vote
2 answers

How to Pass Matrix into "Function"

I'm making a TI-BASIC game, where the player can move around 2-D maps on the home screen. I make an 8x16 matrix for each map: [[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1] [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1] [1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1] …
Blake Allen
  • 347
  • 1
  • 10
1
vote
1 answer

Explanation for unintended output from Ti-83Plus?

Output(1,1,"v=v0+at") Output(2,1,"deltax=v0t+1/2at") Output(4,1,"v^2=v0^2+2deltax") Output(5,1,"deltax=1/2(v0+v)t") Output(6,1,"vt-1/2at^2") I use a cable to transfer programs. Above code works perfectly fine besides the first line where…
David Li
  • 11
  • 1
1
vote
3 answers

Syntax Error on TI-84 Plus

I get a syntax error when I run the following code: Prompt A,B,C B^2-4*A*C→Δ If Δ IS<(0) Disp "No Real Solutions" If Δ=0 Disp "One Solution",-B/(2*A) If Δ IS>(0) Then (-B-√(Δ))/(2*A)→E (-B+√(Δ))/(2*A)→F End Any problems With this code?
some_person
  • 197
  • 3
  • 12
1
vote
2 answers

In TI-BASIC, how do I display the Variable Name given only the variable?

I'm creating a function that displays a lot of variables with the format Variable + Variable Name. Define LibPub out(list)= Func Local X for x,1,dim(list) list[x]->name // How can I get the variable name here? Disp name+list[x] EndFor Return…
1
vote
1 answer

Storing values to a list stored in a string

I would like to store a column of a matrix to a list, whose name is stored in a string. How can one do this? What I am primarily attempting to do is use a loop to create various lists in which columns of a matrix can be stored. To do this, I am…
Diafotismos
  • 109
  • 1
  • 10
1
vote
1 answer

TI Basic how to Display a Number Variable with Input Command

I've looked everywhere for this, and can't find a solid way to do it... I am making a simple number-guessing game, and want to display the number attempt the player is on, and a colon. For example, if it was the user's 5th attempt the screen would…
Blake Allen
  • 347
  • 1
  • 10
1
vote
1 answer

Ti-Nspire CX CAS: clear home screen, clc-clear equivalent in Matlab

I am writing some simple programms which I am running in scratchpad by calling the name of the programme. I have developed a little script to print all the results at the end of the execution, but I cannot find some way to purge scratchpad before…
AleN
  • 75
  • 1
  • 5
1
vote
2 answers

TI Nspire - How to output an expression without the calculator evaluating it

I was wondering how I would return an expression without it being evaluated. Define LibPub exactly(r,l,c,vi,vf)= Func :Local t :Local diff :If l=0 Then : t:=−1*((1)/(r*c)) :Else : t:=−1*((1)/(((r)/(l)))) :EndIf :diff:=vi-vf …
user3470887
1
vote
0 answers

printf() Overflows on TI-83 Plus

I'm following the tutorial here. What I'm doing is to simply print out a string but it is giving me an overflow error: #include int main(){ printf("Hello World\n"); return 0; } I'm compiling the C code with z88dk into a .83p…
Derek 朕會功夫
  • 92,235
  • 44
  • 185
  • 247
1
vote
1 answer

How to Graph x^2 + (y - (x^2)^(1/3))^2 = 1 on a TI-83+

I was trying to graph this equation, but it seems that on the TI-83, none of the graphing modes can support this. How would I go about this? PS: I wasn't sure whether-or-not to put this on Math.Stackexchange, or to put it here. If it should go…
ZTqvhI5vpo
  • 155
  • 2
  • 10
1
vote
2 answers

How to limit number of terms in for loop?

How would I go about using a value of user input to limit the terms in a for loop. The objective of the program is to let the user input the amount of terms, starting value, and counting interval. Thanks!
Ryan Allen
  • 883
  • 1
  • 7
  • 9
1
vote
1 answer

Ti-Basic (Ti-84 Plus) What's that: »Real(12,Str1,Str2)→Str3« and how to make it work?

So there is this Calculator my teacher gave me to try to fix a program that worked in a previous version (probably the Ti-83). According to her it should give the derivation of an equation. The input is self-explaining and the rest of the code is…
Peter Nerlich
  • 225
  • 1
  • 11