Post Reply 
AVars and the program compile operation
09-28-2015, 06:42 AM
Post: #3
RE: AVars and the program compile operation
Hello,

Check does a compile, but does nothing with the result.

Exiting the program editor is what really compiles the program.

After compilation, every expression in the program of the form [exported] var:=value; or every CAS object gets evaluated, this initialized the global variables and cas variables (remember in CAS a function is a variable).
Normally, at this point, views, exported functions and user key get 'marked' so that they can be executed when needed.
The source code is also saved to file.

When the calc reboots, it normally loads the program descriptor. A short part of the program file which only contains the name of the variables/functions, what is a user key or a view.
Then if you try to USE one of these things, then and only then, does it load the program and silently recompile it (it only saves the source code).
If for some reason this descriptor is incorrect, then things might not work properly. The best thing to do then is to edit the program, change one char and exit.

If that does not work, you most likely have something wrong in the program.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: AVars and the program compile operation - cyrille de brébisson - 09-28-2015 06:42 AM



User(s) browsing this thread: 1 Guest(s)