The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

De-allocating memory locations on HP-35s
Message #1 Posted by Paul Kleinkramer on 23 Aug 2009, 8:33 p.m.

Hi!

I'm getting acquainted with my new 35s and finding the transition from my daily driver, a 20s, pleasant; and the return to RPN very refreshing! I won a 41CX in a college design contest in 1989 and became hooked on HP. I do miss that calculator...

While getting to know my new 35s, I allocated the full 801 variable locations with indirect (i). I thought this was fine until I discovered the hard way, (memory full), that the amount of memory left for programming was trivially small. A calculator reset solved the problem but subsequent reading, plus trial and error, has not turned up a way to de-allocate memory once its assigned to variables.

Any ideas from those who understand this better than me?

Thanks so much! Great fourm,

Paul

      
Re: De-allocating memory locations on HP-35s
Message #2 Posted by Reth on 23 Aug 2009, 9:29 p.m.,
in response to message #1 by Paul Kleinkramer

The memory is dynamic - the more "storage" - the less "program" memory; so you should allocate only the number of storage registers you really need. To release memory taken by no longer used registers store zeros in them; the last not-zeroed one draws the border.
It's all clearly explained in the manual.
cheers

            
Re: De-allocating memory locations on HP-35s
Message #3 Posted by Paul Kleinkramer on 23 Aug 2009, 11:29 p.m.,
in response to message #2 by Reth

Well,

It's clearly explained in the manual, yet I couldn't get it to release memory. I thought perhaps there was a non-zero value at 801 but it turned out that they were all set to zero.

I suspect it doesn't actually work as the manual says it should.

                  
Re: De-allocating memory locations on HP-35s
Message #4 Posted by Reth on 23 Aug 2009, 11:43 p.m.,
in response to message #3 by Paul Kleinkramer

I don't have my manual handy, from memory it all worked; there are a few quirks with the calculator and the manual - all available through this forum - google it for HP-35S bugs

                        
Re: De-allocating memory locations on HP-35s
Message #5 Posted by Paul Dale on 23 Aug 2009, 11:46 p.m.,
in response to message #4 by Reth

Or go to the HP35s bugs article.

- Pauli

                              
Re: De-allocating memory locations on HP-35s
Message #6 Posted by Mark Edmonds on 24 Aug 2009, 11:52 a.m.,
in response to message #5 by Paul Dale

Quote:
Or go to the HP35s bugs article.

- Pauli


Pauli - I want to add another small bugette to your post but I don't want to edit your post directly so if you agree with this one, could you add it please?

In most HPs, if you want to enter 10^6 for example, you just press E or EEX then 6. With the 35s, you have to enter 1 then E and 6 which adds an extra keystroke and shouldn't be necessary. It also adds inconsistency with nearly all HPs from the Voyagers onwards.

I tried this out on a few LCD HPs at random and the only one that needed the 1 was the 19B which otherwise took the E to be part of an alpha message so went into alpha edit mode.

Small but lots of small things add up!

Mark

      
Re: De-allocating memory locations on HP-35s
Message #7 Posted by Dave Britten on 24 Aug 2009, 6:56 a.m.,
in response to message #1 by Paul Kleinkramer

Press RightShift-Clear, then pick CLVARx (item 6). You'll be asked for a number; this is the highest numbered variable that you want to keep. Every indirect register past that number will be wiped/deallocated.

            
Re: De-allocating memory locations on HP-35s
Message #8 Posted by Paul Kleinkramer on 24 Aug 2009, 10:00 a.m.,
in response to message #7 by Dave Britten

Dave Britten,

Wow! It works!! and so easily. Thank you for pointing out the obvious that I had missed.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall