The Museum of HP Calculators

HP Forum Archive 18

[ Return to Index | Top of Index ]

HP48Gii SWAP
Message #1 Posted by V Green on 12 Jan 2009, 7:21 a.m.

I now have the user's guide but (blush) can't find the SWAP command. I'm so dumb. There's nothing in the index pages, not even for ROLL. Can anybody tell me where to find the SWAP command so I can swap numbers on the stack?

Ta.

      
Re: HP48Gii SWAP
Message #2 Posted by Jeff O. on 12 Jan 2009, 7:40 a.m.,
in response to message #1 by V Green

Press the right-cursor (not right-shift) button to perform the swap function (unless you're doing something where it would make sense for it to move the cursor to the right, of course)

There is a ROLL function on the 48Gii (press TOOL, STACK, NXT), but it behaves differently from the ROLL function on RPN calculators. Since the stack is not limited, you must tell it how many levels you wish to roll. Also, ROLL actually does a roll-up. Use ROLLD to roll-down. Pressing DEPTH ROLLD will perform the closest thing to the RPN roll-down function.

edit - I should have stated that I am far from an expert in the operation of RPL machines, and that others would probably provide more, better and/or corrected information.

Edited: 12 Jan 2009, 12:23 p.m. after one or more responses were posted

            
Re: HP48Gii SWAP
Message #3 Posted by Reth on 12 Jan 2009, 10:27 a.m.,
in response to message #2 by Jeff O.

Which RPN calc has ROLL? Cheers

                  
Re: HP48Gii SWAP
Message #4 Posted by Jeff O. on 12 Jan 2009, 12:20 p.m.,
in response to message #3 by Reth

Well, none I guess. Seems like the original "R followed by down-arrow" function was call commonly called "Roll", but maybe I misremember.

                        
Re: HP48Gii SWAP
Message #5 Posted by Reth on 12 Jan 2009, 1:37 p.m.,
in response to message #4 by Jeff O.

Well you may be right; I for one always new those 2 commands as RollUp and RollDown
Regards

      
Re: HP48Gii SWAP
Message #6 Posted by Hal Bitton in Boise on 12 Jan 2009, 10:48 a.m.,
in response to message #1 by V Green

There is another caveat with the swap button (right arrow)...you can't use it if there is a command line present...you must hit enter first to put whatever is in the command line into level 1 of the stack. In that regard it's not quite as efficient as an RPN machine.
As for the roll command, I think the easiest way to use it is to activate the interactive stack (up arrow), which will put the stack manipulation menu on the screen. Then just move the arrow marker (using the up/down arrow keys) to the highest stack level you want included in the roll operation. ROLL, or ROLLD will then work on that level and all below it. While you're in there, note that PICK duplicates the arrow delineated stack level into level 1, and that ECHO duplicates it into the command line.
Best regards, Hal

            
Re: HP48Gii SWAP
Message #7 Posted by V Green on 14 Jan 2009, 8:04 a.m.,
in response to message #6 by Hal Bitton in Boise

Thanks Jeff and Hal. I'm really missing my 48GX. Take care.

V


[ Return to Index | Top of Index ]

Go back to the main exhibit hall