HP Forums
Purge All variables of Eq Lib (HP50) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Purge All variables of Eq Lib (HP50) (/thread-15943.html)



Purge All variables of Eq Lib (HP50) - CMarangon - 11-24-2020 12:25 AM

Hello!

(text reading, 30 seconds)

Is there a way to delete (purge) all variables generated from Equation Library?

I used
{ A B C D E F G H I J K L M} PURGE
It works fine.

However it also deleted a program called A.

I have more than 50 variables in my HOME DIR.

Is there a way to purge them easily and without delete my own programs?


RE: Purge All variables of Eq Lib (HP50) - Joe Horn - 11-24-2020 01:20 AM

Long answer: The Equation Library has a built-in utility for this. After you select a subject and title, press the [VARS] soft key (not the VAR key) to see a list of the variables and their meaning. Press [NXT] and see the soft key [PURG]. When that soft menu key is pressed, All the variables used in the current equation are purged from the current directory.

Short answer: [VARS] [NXT] [PURG].

Alternate method: When you press the [VAR] key (below the [APPS] key), your vars are listed in chronological order, newest first. So just press [VAR] then an open list bracket { and then the menu keys to type their names into the list. Stop when you reach your programs, because you'll recognize their names, if you gave them good names. Then press ENTER and PURGE the list.


RE: Purge All variables of Eq Lib (HP50) - CMarangon - 11-24-2020 10:13 AM

Hello Joe!

I also create a dir named VRS, I accesss it and run equation Library when I am inside it.

So, vars generated for Equation Library are stored inside the dir VRS.

When current dir is VRS, I can type
VARS and it generate a complete list of vars inside dir VRS.
After I type PURGE.

See steps below:

For Cantilever Deflection

1 - Enter dir VRS
2- Type
VARS
It wil generate a list of all vars

{L E I a P c M w X}

So,

{L E I a P c M w X} PURGE <ENTER>

This clean all vars above.
How it is inside dir VRS
my programs stored in dir HOME will not be deleted:-)

Tip is to run Equation Library from inside VRS dir.

Kind regards,

Carlos


RE: Purge All variables of Eq Lib (HP50) - MD80_ESP - 11-24-2020 10:23 AM

(11-24-2020 10:13 AM)CMarangon Wrote:  I also create a dir named VRS, I accesss it and run equation Library when I am inside it.

Having a TEMP dir for EQL o MSOL was my way on the 48SX, you keep things simple and tidy this way.

Like any other computer it is a good practice to keep a folders structure that is simple and easy follow (by subjects for example) to avoid messy file mixing.