Calculator Community > Axe

A little help

<< < (2/15) > >>

DJ Omnimaga:
I'm not too sure if Output can be used this way. If I remember, you had to store the text to a pointer like Str1 then do Output(1,1,Str1. Also I am not sure if Fix works with Output. I think it was just Text (graph screen).

ACagliano:
This worked...

Output(0,0,"Pokemon
With no closing Quote (Err: Bad Symbol) or Closing Parenthasis (the parenthasis is displayed)


Can an Axe Parser program archive itself?

SirCmpwn:

--- Quote from: ACagliano on April 07, 2010, 12:48:12 pm ---Can an Axe Parser program archive itself?

--- End quote ---

Yes.  Technically, it is not running the actual program, but a copy of the actual program, so you can archive it.  You just need assembly routines.

ACagliano:
Now, I am trying to test for the presence of the program's storing appvar (POKE). Now, the documentation says GetCalc() returns 0 if not found OR Archived. How do I determine which so the program can enter install if not found, or just unarchive if archived.

And how do I store data to the appvar and recall it later.

Quigibo:
After you select the name of the appvar, immediately unarchive it.  Then, when you try to do getCalc() you're sure that if it existed, its definitely in RAM and so it only returns 0 if it doesn't exist.

To write data, you have to store the pointer that is returned by getCalc() either into a variable or in RAM.  Then you read and write to that location as if it were any other RAM location.  The same way you would do 100->{L1+6}  You can do 100->{A+6} if you stored the appvar pointer to A.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version