|Re: Can you clear out the stack?|
Message #2 Posted by Vieira, Luiz C. (Brazil) on 20 Mar 2003, 9:26 a.m.,
in response to message #1 by joe
in some circumstances it's a good idea to clear the stack to avoid using "garbage" if you press a wrong key. If the stack is empty, you can enter any number and accidentaly press [+] that you have no trouble. This is valid only for RPN models. RPL ones (HP28/48/49) demand two existing operators. RPN stack is always there, and its contets when cleared are all zeroes.
HP67/97 do not have an specific stack clearing procedure. The HP55 clears the stack if you clear registers ([f][CLR] or [g][CL.R]). All voyagers, except the HP16C, have the stack contents cleared when you perform statistics registers clearing ([f]CLEAR[Ê], where Ê means sigma greek letter). The HP12C is particularly different because the [f] CLEAR[REGS] clears everything, including the stack. I am not quite sure, but [f]CLEAR[FIN] keeps stack contents.
Both HP41 and HP42 have the CLST, that is the only specific function to LCear STack contents in these models.
RPL models have CLEAR function that clears numbered-levels contents.
Hope this helps. If I forgot something, please forgive-me: almost every information I post here is written by heart, except when I mention page numbers... ;-)
Luiz C. Vieira - Brazil