HP Forums
48GX stack too big? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: 48GX stack too big? (/thread-46606.html)



48GX stack too big? - Dave Shaffer (Arizona) - 11-12-2003

I don't have the manual handy, so this may have a trivial solution.

I noticed my 48GX seemed to be slowing down as I used it. At some point it dawned on me that the stack had hundreds of numbers on it. I'm guessing that the internal bookkeeping to pop the stack each time I enter something is slowing down the whole machine. When I cleaned out the stack by deleting one value at a time (lots of back-arrow key presses!), it seems "better."

Is this normal? Is there a single "empty the stack" command? Is there anything I should be doing as I calculate to keep the stack at a reasonable size?

I agree with some other comments that a stack bigger than 4 or 5 is unnecessary. Can I put it in a limited stack mode?


Re: 48GX stack too big? - Randy - 11-12-2003

L-shift DEL wipes the entire stack. I usually do that when I pick one up and start to use it.

AFAIK you can't limit the stack. Might be some way in ML.

Of course you could always get the 42S emulator...




Re: 48GX stack too big? - bill platt - 11-12-2003

Hi Dave,

just hit "DEL" once in a while. That will clear the stack.


Re: 48GX stack too big? - Victor Koechli - 11-12-2003

If you'd limit the stack size, the consequences for the calculator would be fatal. The stack you see in the display is *the* RPL system data stack, used troughout the machine by all RPL routines, internal and user made. If you'd limit its size to e.g. 4, like it has been suggested many times, you couldn't even add 1 to (2x-y) anymore, because internally, symbolics are taken apart ("exploded") into meta-objects and then reassembled. Thus, everything in the HP 18/28/48/49 depends on an infinite stack. It's an essential part of the RPL system.

Just hit CLEAR (CLR on the 48SX) or the DEL key once in a while, or whenever you're done with some calculation, and you'll be fine. Alternatively, you could install HPSauce which always displays the stack depth in the status line... ;-)

Cheers, Victor