HP Forums

Full Version: deleting variables HP50g
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Everyone
Is it possible to delete values stored to variables created in a user RPL program
before exiting the program.
Something like Delvar a, b, c, x, y etc as used with the TI89
Thanks for your time
Try

{ var1 var2 var3 } PURGE

where var1 etc are replaced accordingly
Read up on using local variables. Those only exist while the program is running. It looks something like this:

Code:

<< -> X Y
    << X SQ Y SQ + >>
>>
Hi HAN
That worked.
Thanks very much for your time.
Only got the HP50 yesterday so very new to RPL programming.
Hi Dave
Thanks for your help.
Will look up use of local variables.
(04-26-2014 01:55 AM)tgahan Wrote: [ -> ]Hi Dave
Thanks for your help.
Will look up use of local variables.

If I'm not mistaken (and I definitely could be), program execution is slightly faster when operating on locals.
Hi Dave
I will test this out when I get a program up and running.
Thanks again.
Reference URL's