Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Electricity440 on March 11, 2013, 10:42:37 am
-
On axe parser, how can I save the current screen to an external picture (pic0-9). I am just beginning in axe and I'm making a little draw program and I want them to be able to view it outside of the program.
Thanks
Skyler
-
Here's how you could save the contents of the screen buffer to Pic0, following the general recipe for saving data to an OS variable:
GetCalc("Pic0",768)→P
!If P
.Could not create picture (not enough RAM), handle error here
Else
Copy(L₆,P,768)
End
-
Thanks, so how would you open one and show it to the screen?
-
Thanks, so how would you open one and show it to the screen?
Well, the exact opposite (if appvars and pics work the same) ;)
GetCalc("Pic0")→P
!If P
.Picture doesn't exist or is archived, handle error here
Else
Copy(P,L₆,768)
End
If the picture is archived, this should work:
GetCalc("Pic0",Y₀)→P
!If P
.Picture doesn't exist, handle error here
Else
Copy(Y₀,L₆,768)
End