The Museum of HP Calculators
HP Forum Archive 20
[ Return to Index | Top of Index ]
|Putting n stack levels into a string|
Message #1 Posted by Bart (UK) on 14 Mar 2011, 10:55 a.m.
This is actually a follw-on from Oliver Unter Ecker's "[RPL] ROLL Challenge (tricky)"
Is there a command to put n elements from the stack into a string? (i.e. similar to the ->ARRAY and ->LIST commands)
If not, perhaps a challenge to find the best way? My solution so far is:
n -> LIST
<< " " SWAP + + >>
Return to Index | Top of Index ]
Go back to the main exhibit hall