Recent Forum Posts

Looking for something?

Search is temporarily unavailable, we are working to bring it online!

Don't see a match? Post to the community

From categories:
page »

The workaround you mentioned is what I usually do. You can use log() and iPart to get the number of places to the left of the decimal point, then use Text(A,B,"0.00") to write the 0's. After that you can use the rounding routine with 0.01 → N to round the final number to the nearest cent before outputting it

I upgraded to OS 4.5.5 before realizing it wasn't supported by Ndless.

So now I want to remove the os protection or flash it to downgrade the os and install Ndless.

I'm willing to buy the USB/TTL interface.

Thank you!

The Text() command seems to ignore the "Fix" setting (fixed number of decimal places), which would be useful if you were outputting dollars and cents. It seems to just output floating point values. Has anyone found a way to force it to always show two decimal places?

(A workaround might be some complex logic to round the number and then check if there actually are any decimals and how many, and then manually output zeroes, but that's a pretty ugly workaround.)

I have the cable for my calculator but it doesn't work sometimes (It's complicated) and (I have a ti-83+ but it probably doesn't matter) I also would like the source code. Thank you in advance. (ik that that post was 6 long years ago) :(

Plz do us a favor by di11nl2di11nl2, 21 Feb 2024 16:42

This is a good find. I was able to replicate these results on 2.55MP. It seems like your second suggested workaround would be the better option in most cases.

I also tried on my CE with and it appears that the defect was not carried over.

Hi HacksAndSlash01,

I realise that it's been 18 months and no one replied. I just saw your message. Did you get very far in your search?

I recently created a program that compiles and decompiles TI-Basic 8XP into plain text and vice-versa. I hope to release it publicly in the next few months, but could answer questions in the meantime if you still have any?

In short, to decipher the 8XP binary format, you first need to understand the binary structure of the file. And then you need to have a list of all the commands and their binary representation.

The forum won't allow me to post direct links, but here is the structure I found from my own research:

gist.github .com /SimonEast/244a0fd04526ea1acbec2e2ceb2e7924

gist.github .com /SimonEast/68fcf1d5351bc391d2811c824ea10d7a

Hi team,

I've been doing some TI-Basic development on TI-84+ (monochrome) and came across what seems to be a bug in the DelVar command (at least on the latest OS 2.55MP).

When deleting any list variable, it removes the last list in the list editor, even if the two lists are not related.

Here's a short example that demonstrates the bug:

SetUpEditor L₁,L₂
DelVar ⌊AA

When I run these commands, and then open the list editor (STAT, ENTER), I would expect to see L₁ and L₂ displayed, but only L₁ is.

It actually doesn't matter which lists you specify in SetUpEditor, or which list you create and delete, the same thing occurs.

I noticed that repeated DelVar calls do not keep removing lists from the editor, it only happens once, until the next SetUpEditor call.

Can anyone else confirm that this happens on their calculator too? I noticed it seems to have been fixed in the TI-84+ CE editions, so maybe it was discovered and patched since the latest TI-84+ OS release.


The two workarounds I know about so far are:

  • Specify an additional column in your SetUpEditor, expecting that it the last one will likely get removed during the next DelVar
  • Call SetUpEditor AFTER the DelVar if you want to ensure it is exactly as you specified, but expect that any future deletion of a list will still remove the last column

If others confirm that this indeed happens to them, I might document this in the wiki.


Please help, I am unable to convert a program for Slope Field provided by my kid's calc teacher for TI-83/84 into my kid's TI-nspire. I'm stuck at the Ymin and Ymax fields. And is there an equivalent for ClrDraw? So far I haven't found a command that does this, though this is less important than the other lines of code.

SLOPEFLD (graph the slope field for a differential equation y f(x, y)) Input: Differential equation y f (x, y)
Output: Slope field for the differential equation
This program draws slope fields on both the TI-82 and TI-83.
Prgm SLOPFLD :10→L
:10→W :(YmaxYmin) /L→V :(XmaxXmin) /W→H :ClrDraw
:Lbl 1
:Lbl 2
:Y →M 1
:M*H/4Y→S :M*H/4Y→T :XH/4→P :XH/4→Q
:If abs (TS) .7V :Goto 3
:Lbl 4
:Line (P, S, Q, T) :Z→Y
:If CW
:Goto 2 :YV→Y :If RL :Goto 1 :Stop

:Lbl 3 :Y.35V→T :Y.35V→S :(TY) /MX→Q :(SY) / MX→P :Goto 4
Program by: Mark Howell, Gonzaga School, Washington, D.C.

Slope Field by lost456lost456, 01 Feb 2024 16:01

I have bought a TI-Nspire CX recently. I have attempted to plug it into my PC in order to connect it via the Nspire calculator link, but nothing I try can make any TI software be able to find the calculator. Can anyone help me?

Nspire not connecting by turtle boiturtle boi, 31 Jan 2024 22:26

I'm dumb :( x2

Re: Major Bug Fix by di11nl2di11nl2, 01 Jan 2024 04:16

Don't you mean "If C!=13:Then" not "If C≠ 13:Then"?

Re: Major Bug Fix by di11nl2di11nl2, 01 Jan 2024 04:13

Trenly, my question is exactly like PhillMiaz' question, I haven't gotten to the part that PhillMiaz was on but just to ask ahead, what would I do with the ({Y₁}, part of the line: "Equ>String({Y1},Str1". Thanks in advance!

Edited: On the TI-83+ does the Y₁ look like y1? thx

Re: source code by di11nl2di11nl2, 01 Jan 2024 02:36

does it work for TI-84 plus CE cause i want to play it on mines.

i have a question by Unknown_502Unknown_502, 28 Dec 2023 20:10

For now, I'm just not going to put it in.

That's what I'm saying!

Re: help by di11nl2di11nl2, 16 Dec 2023 01:05

I can't believe CalcNerd is here!! I was just watching his channel! So do I type in "Square or do I find it in a catalog?

I found a video about naming polynomials at brightstorm[dot]com/math/pre-algebra/polynomials2/classifying-and-naming/ - is that the kind of task you're trying to do?

I'm not sure that a calculator program would be super useful in this case, as it's probably quicker to do with your own eye and brain 😉 but in any case, you might have to ask the user for a formula, store it in a string, and then search the string for certain characters. Something like:

Input "Formula:",Str1
If inString(Str1,"X"):"Linear"→Str2
If inString(Str1,"X²"):"Quadratic"→Str2
If inString(Str1,"X^3"):"Cubic"→Str2
If inString(Str1,"X^4"):"4th degree"→Str2
If inString(Str1,"X^5"):"5th degree"→Str2
If inString(Str1,"X^6"):"6th degree"→Str2
Disp Str2

And then for determining whether it's a monomial/binomial/trinomial, you could search for + or - signs and count them (assuming the formula is already simplified).

This of course will not work perfectly with polynomials in other forms such as (x+1)(x+2).

Hope that helps get you started. Or if I've missed what you were actually asking for, feel free to clarify.


P.S. See if you can figure out how to save bytes by modifying the script above to not use Str2 at all and only rely on Ans. Faster and uses less bytes!

Re: Isolating exponent. by SuperSimoSuperSimo, 29 Nov 2023 03:19

There are certain cases where using Goto and Lbl may be necessary, but there are usually alternatives (except for when using Menu().

For instance, you could just place your cleanup code at the end of your program so that it will always run after the program control flow exits. Example:

0→E  // exit code
0→S  // program state
Repeat E
// Code that executes every loop goes here

If S=0  // case 0
Prompt B
If B=3
If S=1  // case 1
// Cleanup code here
DelVar EDelVar SDelVar B

This is a simple implementation of a finite-state machine, which allows you to jump between different blocks of code ("states") based on transition conditions. The main loop runs continuously until the exit variable (E in this case) is set, and executes the code in the current state (S). This structure allows you to effectively re-use sections of code without Gotos.

page »