[comp.sys.handhelds] RPL REM's

mgaylord@nike.calpoly.edu (HP48SX Free software) (01/08/91)

Hello All,

I was wandering if anyone knew how to make notations in a RPL program on
the hp48sx. What I want to do is note the arguements in the beginning of
each routine.  The "@" works great on the PC but is deleted by the 
compiler when the program is saved.  I have resorted to using a string 
followed by DROP.  I was hoping to find something that was egnored during
run time.

One more thing, Does anyone know the SYSEVAL address of VIEW, and can it
be run from a program????

Thanks for your help,
Malcolm Gaylord
mgaylord@eros.calpoly.edu

rrd@hpfcso.HP.COM (Ray Depew) (01/08/91)

>    I was wandering if anyone knew how to make notations in a RPL program on
>    the hp48sx. [...] I have resorted to using a string 
>    followed by DROP.  I was hoping to find something that was egnored during
>    run time.

So far, << ... "comment" DROP ... >> is the only thing I've found to work.
With some long programs, I prefer << ... "comment" 1 DISP ... >> so I can
keep track of what's going on.  The other thing that helps is to use more
descriptive variable (and program) names than "Acx1" or "BB".  It's more
a question of programming style than anything else.

>    One more thing, Does anyone know the SYSEVAL address of VIEW, and can it
>    be run from a program????

There are other ways to do what you want to do.  For grobs, { } PVIEW or 
{#0 #0} PVIEW works well.  For algebraics, 0 ->GROB { } PVIEW does the 
trick.  There are workarounds for other object types, too.

Not exactly what you were looking for, but a place to start...

Regards
Ray 
rrd@hpfitst1.hp.com