ok. Many people got their Prizm through the CASIO event and I assume that many people are willing to try to program.
However, Casio Basic and Ti Basic are different.
So, I decided to write a really simple (not complicated) "conversion table" from TI-BASIC to Prizm BASIC!
1. Input/OutputTI-BASICInput
StuffInput "DISPLAY",
StuffOutput(row,column,"DISPLAY")
Disp "CONTENT"
to Prizm BASIC?→
Stuff"DISPLAY"?→
Stuff(Color) Locate column,row,"DISPLAY"
"CONTENT"
Also, I think it's a good idea to mention that while TI-84+SE has 16x8 homescreen available to use for program, Prizm has 21x7 homescreen available to use for program. Yes. One less row.
At least, Locate can have color stuff
Oh. Color can be accessed by [SHIFT] [5] [5] [1] in program editor.
2. LoopsTI-BASIC:If
Condition:Then
:Code
:Else
:Another Code
:End
For(
Variable,
Start_Num,
End_Num(,
Increment value))
:Stuffs
:End
While
Condition:Code:End
Repeat
Condition:Code:End
to Prizm BASICIf
Condition:Then
:Code
:Else
:Another Code
:IfEnd
For
Start_Num→
Variable To
End_Num(Step
Increment Value)
:Stuffs
:Next
While
Condition:Code: WhileEnd
Do:Code:LpWhile
ConditionIt's worthy to mention that in Prizm BASIC, "Then" is must be used in If statement.
Also, Do-LpWhile loop loops until the condition is true, unlike Repeat!
3. =>=> is really awesome to use!
=> is called "Jump condition" iirc, and its syntax is this:
Condition=>Condition if true[:
Condition of false]
It's kinda like ? function in axe. Kinda.
So instead of all this jarble:
If A=3
Goto 1
Else
Goto 2
IfEnd
You can do this!
A=3=>Goto 1:Goto 2
=> can be found in [shift] [vars] [f3] [f3].
4. StringsTI BASICsub(Str1,
Start_from,
how_many_chars)
to Prizm BASICStrMid(Str 1,
Start_from,
how_many_chars)
I'll add more later.