r/TIBASICPrograms • u/CreativeTechGuyGames • Mar 27 '19
r/TIBASICPrograms • u/happynessisgames • Sep 18 '18
Help with code
I don't know if this is where you post questions, but I don't know where else to, but anyways. I have been getting into coding, and wanted to know how exactly to have a button (like the up button), make something move (e.g move a letter up).
r/TIBASICPrograms • u/NothingCagey • Jun 13 '19
How do I type “⌊A” on a TI-84 Plus CE?
I can’t find “⌊A” on my calculator and I need it to make a game Thanks!
r/TIBASICPrograms • u/____________-__-___- • Mar 29 '19
I made a minesweeper program. It's a little slow, but I'm happy with it.
r/TIBASICPrograms • u/Anidion • Sep 20 '18
Text is badly formatted when using older programs. This is apolyion for a Ti-83/84, I'm running a Ti-84 Plus CE-T. Is there any way to fix this?
r/TIBASICPrograms • u/____________-__-___- • Mar 29 '19
Any suggestions on games/programs I should try to make on my ti-84 plus?
I want to make something but I'm not sure what exactly...
r/TIBASICPrograms • u/The_Big_Red_Doge • May 29 '18
Program Interest Rate/Half Life Program
Here's little interest rate and half life program I made last night for the TI-84. Feel free to download it here and let me know what you think!
r/TIBASICPrograms • u/____________-__-___- • Mar 23 '19
Program This is my attempt at Connect Four. It gets slow after the minimum amount of tiles to win is played because I made it start comparing piece placements then. I'm sure it could be made faster if I used matrices, but I don't know how :/ I'm just using lists now.
r/TIBASICPrograms • u/AccurateSleep • May 07 '19
Variable to a value
Hello, i wanted to know if it is possible to store a value in a function rather than the variable ? E.g: Prompt A "AX^(2)"->Y1 and insted of displaying A in the Y1 function, having the value of A
r/TIBASICPrograms • u/GengenWer • Aug 08 '18
Why Won't This Work?
:ClrHome :"X2" -> Str1 :String>Equ(Str1, Y1) :Disp Str1 :Prompt B :If B=Y1 :Then :Output(1,1,"YES") :Else :Output(1,1,"NO") :End
r/TIBASICPrograms • u/nitzane • Jul 19 '19
Looking for programing challenges
Hi guys, im learning ti basic, and im at the point where i need "homework" to get my intuition in it.
Does anyone have a list of chalenges?
Dsoesnt have to be specific for ti-basic, variable difficulty levels.
Thank you!
r/TIBASICPrograms • u/MythicalNargon • May 08 '19
Link Im Looking for a Tetris Code
I don't have a cable for my TI-84+, and I want to program Tetris into the calculator. I have already done Pong and Snake. I've found download links, but since I can't download it, I'm trying to find the code so I can copy it. Thank you!
r/TIBASICPrograms • u/DebbiePickaxe • Jan 31 '20
Help coding a simple solver, unanticipated error that I don’t know how to fix.
I've been trying to write a CAS program to solve a variable for me with multiple input variables. Please, if you can tell me where I went wrong
Define LibPub broadcrestqsolv(h,p,c,l,g)=
Func
:Local k
k:=solve(q=(0.5+((q^(2))/((h+p)^(2)*l^(2)*2*g)))^(((3)/(2)))*c*((2)/(3))*√(((2)/(3))*g)*l,q)
Return k
EndFunc
EDIT: the error I get when running it is “Too many arguments” but I’m inputting 5 numbers separated by comas, in their respective slot.
EDIT 2: I’m trying to isolate for q, when I put this equation with numbers into the scratchpad it outputs the expected value, so it isn’t a problem with the variable being on both sides.
r/TIBASICPrograms • u/Habstinat • Nov 12 '13
One-liners thread!
Although not strictly TI-BASIC, for me one-liners are an interesting challenge (not to mention way quicker to create and often more efficient than programs). Feel free to post your clever TI-BASIC one-liners here with a description of what they do. I'll allow a colon or two in the middle, but these should be able to be ran from the home screen.
I was inspired to make this thread from this SAT question, where IMO making a one-liner to solve it could help to determine the answer more quickly than writing a program or thinking it out (unless you think really fast!). Here's what I came up with to list how many positive integers under 53 would give you a remainder of 3 when you divided 53 by that integer:
sum(seq(remainder(53,X)=3,X,1,52Or, expanded with the extra byes:
sum(seq(remainder(53,X)=3,X,1,52))Oh boy, I love seq(. Your turn!
r/TIBASICPrograms • u/AmToasterAMA • Feb 25 '17
DATA TYPE Error dynamically generating lists - help please [TI-83 Plus]
I'm trying to use a for loop to make 9 lists, each with 8 elements, and each named 1 through 9. Here's my code:
For(L,1,9,1)
8->dim(L)
L^L->1(L) //test of the first list
Disp 1(L)
End It throws a "DATA TYPE" error at 8->dim(L), specifically the variable argument.
Can you not generate lists with variable names?
If not, how could I do something that gives me the results I'm trying for?
Thanks for the help.
r/TIBASICPrograms • u/-ButImNotARapper • Sep 11 '16
Storing variable into window variable bug?
So I'm constructing a program on my TI-84 Plus and it basically draws a bunch of lines that connect with the previous lines. In the program I am trying to set the Ymax window size to variable C. I am also trying to set the Xmax window size to variable I. Both Xmin and Ymin are 0 and both variables C and I are positive. So I do, ' :C -> Ymax :I -> Xmax :DispGraph ' The problem is that for some reason when storing the variables into X/Ymax it resets the graph. I don't know if this is a bug or not but I have searched for a solution and can't find it. I know its not something else because I tried storing numbers directly instead of variables like, ' :64 -> Ymax :7 -> Xmax ' and it works fine. I then try to adjust the window sizes manually to fit the graph better and the graph looks like it resets. Help would be great.
r/TIBASICPrograms • u/11StormFonx11 • Sep 04 '16
Where to get started to know the basics of Tibasic?
I want to know how to program on tibasic but where do i get started?
r/TIBASICPrograms • u/programjm123 • Dec 07 '13
Program (TI-84) {X-Post from /r/TI_Calculators} Radical Simplifier
r/TIBASICPrograms • u/skyfucker6 • Feb 20 '17
A simple program I made to convert Base 10 to binary
1->A
0->C
0->S
0->N
Lbl A
Disp "
Disp "ENTER BASE 10"
Disp "NUMBER:
Disp "
Prompt X
If X=0
Then:0->N
Goto Z
End
If (fPart(X)!=0) or X<0
Then
Disp "
Disp "POSITIVE "
Disp "INTEGERS ONLY!"
cos(tan(9))
Goto A
End
Lbl 1
While (X/A)>=2
A*2->A
C+1->C
End
N+(10^C)->N
If remainder(X,A)!=0
Then
remainder(X,A)->X
1->A:0->C
Goto 1
End
Lbl Z
Disp N
Disp "r/TIBASICPrograms • u/[deleted] • Sep 13 '16
Unit converter
ClrHome
Menu("Convert...","Length",L,"Volume",V,"Mass",M,"Pressure",P,"Energy",E,"Temperature",T
Lbl Z
DelVar UDelVar ʟUDelVar Str0DelVar Str1DelVar Str2DelVar Str3
Disp "",I
Stop
Lbl L
"NM UM MM CM KM IN FT YD MI→Str0
{ᴇ‐9,ᴇ‐6,ᴇ‐3,.01,ᴇ3,.0254,.3048,.9144,1609.344→ʟU
Output(1,14,"CM
Goto θ
Lbl V
"UL ML CM3 M3 TSP TBSPFLOZCP PT QT GAL→Str0
{ᴇ‐6,ᴇ‐3,ᴇ‐3,ᴇ3,.004929,.014787,.02957,.236588,.473176,.946353,3.785411→ʟU
Output(1,14,"L
Goto θ
Lbl M
"MG KG OZ LB ST→Str0
{ᴇ‐3,ᴇ3,28.349523,453.59237,6350.29318→ʟU
Output(1,14,"KG
Goto θ
Lbl P
"MMHGTORRPA KPA BAR PSI→Str0
1/{760,760,101325,101.325,1.01325,14.695949→ʟU
Output(1,14,"ATM
Goto θ
Lbl E
"KJ CAL KCALKWH→Str0
{ᴇ3,4.184,4184,3.6ᴇ6→ʟU
Output(1,14,"J
Goto θ
Lbl θ
ClrHome
Disp "Ex.Format: 1␣
Disp "
Input "Input: ",Str1
Input "Output: ? ",Str3
inString(Str1," →U
sub(Str1,U+1,length(Str1)-U→Str2
expr(sub(Str1,1,U-1→I
(inString(Str0,Str2)+3)/4→U
If U and U=int(U
IʟU(U→I
(inString(Str0,Str3)+3)/4→U
If U and U=int(U
I/ʟU(U→I
Goto Z
Lbl T
"FK→Str0
Disp "Ex.Format: 1 K
Disp "
Input "Input: ",Str1
Input "Output: ? ",Str3
inString(Str1," →U
sub(Str1,U+1,length(Str1)-U→Str2
expr(sub(Str1,1,U-1→I
inString(Str0,Str2→U
If U=1
(I-32)5/9→I
If U=2
I-273.15→I
inString(Str0,Str3→U
If U=1
32+I9/5→I
If U=2
I+273.15→I
Goto Zr/TIBASICPrograms • u/JacksonCrews • Dec 09 '13
Meta /u/JacksonCrews from /r/TIBasicPrograms (copy of post submitted to /r/TI_Calculators)
Hey guys! I'm excited to announce that my sub /r/TIBasicPrograms will be uniting with /r/TI_Calculators with help from /u/programjm123 to grow the TI programming community! He'll be doing a total redesign of my sub and also help me mod it! I'm really looking forward to it! Come check it out!!
r/TIBASICPrograms • u/AmToasterAMA • Mar 01 '17
Y (the variable) keeps getting set to 0 [TI-83 Plus]
The value of Y (the variable) seems to be getting set to 0 at the beginning of every program I run. Its value can be changed after, but it always starts at 0.
In one of these programs, I do 3->Y at the start, and Y is then added to or subtracted from with getKey and graphed. Despite the 3->Y line, it always initially graphs 0, and then changes after keypresses (because of getKey, I hope).
Thanks for helping.