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 1123...next »

Example:

Input("SomeText(", A, ")"

Is this posable using different syntax?
Re: TI 83 Programing by DaCodeBoiDaCodeBoi, 17 May 2024 07:21

Hi i want to know if it is possible to display 2 different display elements on one line. Also can you make an input where it has pre inputed characters before the variable?

TI 83 Programing by DaCodeBoiDaCodeBoi, 16 May 2024 19:31

Be sure that you're using the List variable (2nd + 1) and not typing in just "L1", that should fix the issue

Re: Err: syntax by TrenlyTrenly, 10 May 2024 20:37

So, I'm new to programming in general, so I don't know how to fix this issue. My TI-83 plus keeps saying there's an issue with this line of code: DelVar LO"?→Str1 (I tried to copy and paste it but it wouldn't let me, it doesnt look exactly how the code did) also, I am just typing in the code myself, I am not uploading it from a computer. Does anyone know how to fix it? Any tips would be helpful

Err: syntax by MadssssMadssss, 19 Apr 2024 17:39
MrGumballsMrGumballs 18 Apr 2024 22:41
in discussion General Discussion / Wiki Page Discussions » Games

Hi I like Calculators

by MrGumballsMrGumballs, 18 Apr 2024 22:41

You could do multiple lines of text, however it is more difficult without libraries. You could attempt with Celtic III (for monochrome) or Celtic II CSE (for CSE calculators) and Celtic CE (for CE calculators) , by creating a program for you to edit the text in and shift lines based off of where the cursor is. For example, you could create a program with empty lines of code, start the cursor on line one.

Assuming you have Celtic installed…

(Note, I am using the home screen for simplicity)

For(I,4,5
det(0,I,"A
End

1→L:1→P:"→Str1  //Don't do a space, just keep the string null. Initialize L (lines of the program) and P (line Y position)

Repeat K=22          //Change the exit key from ENTER to MODE, Loop 1

det(5,"A",P         //Read line P from program A
If Ans=".NULLINE" or Ans=".NULLSTR       //If the line is null, instead of displaying the error display a space instead
"           //One Space
Output(P,1,Ans

Repeat max(K={22,105,25,34,45,23    //Loop 2

" 
If length(Str1:Str1
Output(P,1,Ans
Output(P,1+length(Str1),"|               //The cursor along with a space after it

Repeat Ans     //Loop 3
getKey→K
End      //End of Loop 3

If Ans>40 and Ans<94 and 16>length(Str1):Then           //16 if you're on monochrome, 26 if you're on color
sub("ABC  DEFGHIJKLMNOPQRSTUVWXYZ",Ans-20-5int(.1Ans),1
If length(Str1
Str1+Ans→Str1
If not(length(Str1
Ans→Str1
End

End     //End of Loop 2

If K=23 and 1<length(Str1              //Delete character for the string 
Then
If 1=length(Str1
"→Str1
If 1<length(Str1
sub(Str1,1,length(Str1)-1→Str1           //No need to add a space for the text because the space after the cursor takes care of that
End

If K=45:Then                   //Clear the string
"→Str1
For(J,1,16
Output(P,J,"                  //One space
End
End

If K=105:Then             //Create a new line below the current line, not 100% sure if this is valid
det(6,"A",det(17,"3F"),P        //Write the new line character at P so it makes a new line below
End

If max(K={25,34:Then
If length(Str1
det(8,"A",Str1,P
"                        //One space
If length(Str1
Str1+"                //One space after
Output(P,1,Ans
max(1,min(L,P+(K=34)-(K=25→P
End

End      //End of Loop 1

After the program ends, everything you edited is stored into Program A. It might not be perfect because I coded this from memory. This program is assuming you're using a monochrome calculator with Celtic III, but if you're using a color calculator with Celtic II CSE or Celtic CE then let me know so I can revise it.

However this program is a multi-line editing routine, however it is a simple program and only handles 8 lines of text. Anything more it will throw an error. Hopefully this is something you're looking for!
This program isn't really simple, but it gets the job done. You could do this without libraries but it would be much more complex and harder to understand.


Naga-Userbar.png

Until a few weeks ago, I was able to create programs and properly call them in the "Calculus" section of my calculator. Now, I still can create them (in the "double window") as I used to but can't call them. More precisely, I call them (in the left hand side of the double window) and nothing happens (even when the program is supposed to display a number).

Here is the program I've made:

Define sn()=
Prgm
Disp 2
EndPrgm

Then, on the left side of the double window, I call sn():

sn()

and the calculator only displays on the screen "Done". As if the program I wrote didn't exist.

I have not forgotten to save the program.

If anyone could help me.

Thanks in advance!

Note: I'd like to add that there is a star (*) to the left of my program's name on the right-hand side of the double screen.

How would one go about modifying the code below to make it do multiple lines of text?

" →Str1  
:Repeat K=105
:Repeat Ans>40 and Ans<94 or Ans=105
:getKey→K
:End
:Ans-20-5int(.1Ans
:If 25>length(Str1) and 0<Ans and Ans<29
:Then
:Str1+sub("ABC  DEFGHIJKLMNOPQRSTUVWXYZ",Ans,1→Str1
:Text(10,1,Str1
:End
:If K=23 and 1<length(Str1 
:Then
:sub(Str1,1,length(Str1)-1→Str1
:Text(10,1,Str1,"   
:End
:End
:If 1<length(Str1
:sub(Str1,2,length(Str1)-1→Str1
Multi-Line Custom Text Input by EnerLordeEnerLorde, 22 Mar 2024 17:36

This is not pressing issue but my next pieces aren't deleting after they are used and they are overlapping in the box, I think I missed the line where the box is cleared before the next peice is displayed and they are meshing together. Could somebody point me to the line I'm missing?

Problem with the next piece. by Sm1leySm1ley, 15 Mar 2024 16:16

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 5.3.0.0037 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₂
{0}→AA
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.

Workarounds

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.

Cheers,
Simo

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
:FnOff
:0→R
:YminV/2→Y
:Lbl 1
:R1→R
:0→C
:XminH/2→X
:Lbl 2
:C1→C
: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
:Y→Z
:Line (P, S, Q, T) :Z→Y
:XH→X
: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
page 1123...next »