Jump to content

Forth/Command Reference

From Wikibooks, open books for an open world

Command Reference

[edit | edit source]
Data stack before execution word Data stack after execution Explanation
stack item . stack item stack item is displayed
n1 n2 + (n1 + n2) add topmost two numbers and leave result
  BYE   reboot[1]
  bye   reboot[1]
  power-off   shut down[1]

Footnotes

[edit | edit source]
  1. a b c OLPC XO Forth PROM.
[edit | edit source]