http://www.forth.org/,
Gordon Charlton: Introduction to Forth using StackFlow
100 9 5 */ 32 + . [cr] 212 ok
Stack-Operationen:
- SWAP
(abba)
- ROT
(abcbca)
- DUP
(aaa)
- OVER
(ababa)
- DROP (a)
Euklid:
BEGIN DUP WHILE TUCK MOD REPEAT DROP ;
WHILE
testet top of stack.
Was macht TUCK
?
Johannes Waldmann
2005-01-28