Re: Global variables and HP-GCC



On Wed, 30 Aug 2006 19:33:45 -0500, Claudio Lapilli wrote:

Is there any way of accessing global variables with HP-GCC?

Yes, look for the sat_dir... functions. You can traverse subdirectories
and read variables. However, this is read-only, you cannot write to
these variables (at least for now, we'll try to add this feature
in the future).

Could you implement a "server" -- i.e. an RPL program
which would accept any commands to be executed in RPL mode
(using a new or saved stack, say),
then return to where you suspended HPGCC mode?

If you had that, then you could have HPGCC programs
perform any desired RPL commands, and would not need
to add individual specific features to HPGCC.

[r->] [OFF]
.