Post Reply 
deleting variables HP50g
04-26-2014, 01:20 AM (This post was last modified: 04-26-2014 01:22 AM by tgahan.)
Post: #1
deleting variables HP50g
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
Find all posts by this user
Quote this message in a reply
04-26-2014, 01:29 AM (This post was last modified: 04-26-2014 01:30 AM by Han.)
Post: #2
RE: deleting variables HP50g
Try

{ var1 var2 var3 } PURGE

where var1 etc are replaced accordingly

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
04-26-2014, 01:48 AM
Post: #3
RE: deleting variables HP50g
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 + >>
>>
Visit this user's website Find all posts by this user
Quote this message in a reply
04-26-2014, 01:51 AM
Post: #4
RE: deleting variables HP50g
Hi HAN
That worked.
Thanks very much for your time.
Only got the HP50 yesterday so very new to RPL programming.
Find all posts by this user
Quote this message in a reply
04-26-2014, 01:55 AM
Post: #5
RE: deleting variables HP50g
Hi Dave
Thanks for your help.
Will look up use of local variables.
Find all posts by this user
Quote this message in a reply
04-26-2014, 02:03 AM
Post: #6
RE: deleting variables HP50g
(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.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-26-2014, 02:13 AM
Post: #7
RE: deleting variables HP50g
Hi Dave
I will test this out when I get a program up and running.
Thanks again.
Find all posts by this user
Quote this message in a reply
Post Reply 




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