Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Deep Toaster on June 03, 2010, 07:36:06 pm
-
I am really new at Axe, and I can't figure out how variable storage works. I have the following code:
:DiagnosticOff
:ClrHome
:"vMine"→Str1
:GetCalc(Str1)→A
:!If A
:GetCalc(Str1,3)→A
:ΔList(10,10,10)→{A}
:End
When compiling, Axe gives my an ERR: BAD SYMBOL.
Sorry if this is something obvious, but what did I do wrong?
-
I don't think you can use ΔList( with things other than in program data storage... couldn't you just do 10→{A}:Fill(A,3) ? and you messed up your code tags =P
-
I don't think you can use ΔList( with things other than in program data storage... couldn't you just do 10→{A}:Fill(A,3) ? and you messed up your code tags =P
Whoops, code tags fixed now.
And I didn't know that. Thanks.
-
True I recall trying to do ΔList(0,1,2,3)->{POINTER} or [00010203]->{POINTER} before and got a BAD SYMBOL error too. I think when updating bytes at a pointer, you need to update them one by one (or with Fill() if all of them are the same value)
-
Note, you need to use Fill(A,2) because it will fill the two bytes after A, which is what you want.
-
Okay, changed it, thanks.