|
Next: ROT Up: COD Command Summary Previous: REPEAT
ROLLRotate the nth number (not counting n itself) to the top of the stack, where n the top number in the stack. Note: 2 ROLL does the same thing as SWAP, and 3 ROLL does the same thing as ROT; and n must be greater than 1.0.
Example: 100. 200. 300. 400. COD> 4 ROLL 200. 300. 400. 100.
Web Page Maintained by: Dr. Lawrence E. Brown elwin@redshift.gsfc.nasa.gov |