Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Munchor on January 10, 2011, 03:18:13 pm
-
Hello, I was told here at Omnimaga that afterall we can use more than Pic0-Pic9. What are those 'more'?
If those 'more' exist, I may go back to calculator programming (this is what made me give up).
-
not in BASIC, but for AXE parser, you can have Pi0-Pic9 plus any combination of two more letters/numbers.
examples: Pic1A, Pic1B3, Pic5Y, Pic099...
although you can only have 153 static pointers max, you can use relative referencing, so this:
[0000000000000000]->Pic1
[FFFFFFFFFFFFFFFF]->Pic2
Pt-on(0,0,Pic1
Pt-on(0,8,Pic2
Dispgraph
is the same as
[0000000000000000]->Pic1
[FFFFFFFFFFFFFFFF]
Pt-on(0,0,Pic1
Pt-on(0,8,Pic1+8
since they're pointers
-
You can also use xLib, Celtic III, etc, to access more pic variables through TI-Basic.
-
You can also use xLib, Celtic III, etc, to access more pic variables through TI-Basic.
I know this is in Axe Forum, but how many extra pics in tibasic could be accessed?
-
Why does everybody suppose I'm talking about Basic in the Axe forum?
-
There can be up to 256 pictures at one time. Also, I was just expanding on the information given, not necessarily talking about Basic for your ends.
-
Why does everybody suppose I'm talking about Basic in the Axe forum?
well, i knew you were talking about Axe cause I told you there were more than Pic0-9. but since you said Picture variable when usually, people refer to them as pointers. ;)
EDIT: since they are pointers, you could also use Str1 instead of Pic1, but since its more sensible to use Pics for sprites and strs for Text and GDBs for data, we just do it that way. ;) I think the Axe documentation elaborates on that a bit more. ;)
-
Why does everybody suppose I'm talking about Basic in the Axe forum?
well, i knew you were talking about Axe cause I told you there were more than Pic0-9. but since you said Picture variable when usually, people refer to them as pointers. ;)
Oh yeah, they are pointers.
Thanks much everyone, this is great for me (sprite user).