Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: InternetCliche on November 15, 2011, 06:41:07 pm
-
How do I turn a TIOS picture into an appvar so I can use it in axe programs without having to have it on my calc every time I want to compile? In a related question, how would I use it in my program. Appvars are one of the few things I haven't tried in Axe.
-
[Pic1]->A
GetCalc("appvSOMETHNG",768)->B
Copy(A,B,768
-
[Pic1]->A
GetCalc("appvSOMETHNG",768)->B
Copy(A,B,768
That would be a one-time thing to put the pic into the appvar, correct? And how would I then access it from archive?
-
GetCalc("appvSOMETHING")->B
Copy(B,L6,768
This calls appvar to your buffer.
-
and then to use in program (recall):
:GetCalc("appvSOMTHING",Y0) //gets the appvar
:Copy(Y0,L6,768) //copies into buffer (graph screen)
EDIT: ninja'd!!!!! :ninja:
-
Those two look different, is there actually a difference between them?
-
and then to use in program (recall):
:GetCalc("appvSOMETHING",Y0) //gets the appvar
:Copy(Y0,L6,768) //copies into buffer (graph screen)
EDIT: ninja'd!!!!! :ninja:
Parser, your code doesn't work because SOMETHING is 9 letters XD/me runs
-
and then to use in program (recall):
:GetCalc("appvSOMETHING",Y0) //gets the appvar
:Copy(Y0,L6,768) //copies into buffer (graph screen)
EDIT: ninja'd!!!!! :ninja:
Parser, your code doesn't work because SOMETHING is 9 letters XD/me runs
oh woops, forgot the 8 letter limit. :P
EDIT:Those two look different, is there actually a difference between them?
as far as I know there isn't, it's just a different way of doing it. :)
-
parser's works for archived variables, not yeong's.
-
parser's works for archived variables, not yeong's.
ooh so that's the difference XD
-
parser's works for archived variables, not yeong's.
That's the difference. :P/me always wondered why it didn't work on archived vars. XP
-
Y0–Y9 store the flash page as well as the memory address, so you need it for archived stuff.
-
Y0–Y9 store the flash page as well as the memory address, so you need it for archived stuff.
Ah, thank you for clearing that up. This will be really helpful. :)
-
Shame on both of you for not including a check that the variable is successfully found. :P
!If GetCalc("appvPIC",Y₀)
.Handle error
End
Copy(Y₀,L₆,768)
-
Shame on both of you for not including a check that the variable is successfully found. :P
!If GetCalc("appvPIC",Y₀)
.Handle error
End
Copy(Y₀,L₆,768)
that's not what he asked. :trollface: