Next: ROT Up: COD Command Summary Previous: REPEAT
Rotate 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.
100. 200. 300. 400. COD> 4 ROLL 200. 300. 400. 100.
Web Page Maintained by: Dr. Lawrence E. Brown firstname.lastname@example.org