OpenBoot 2.x Quick Reference

Dictionary Compilation Commands

Table 1-27 Dictionary Compilation Commands

,

( n -- ) 

Place a number in the dictionary. 

c,

( byte -- ) 

Place a byte in the dictionary. 

w,

( word -- ) 

Place a 16-bit number in the dictionary. 

L,

( long -- ) 

Place a 32-bit number in the dictionary. 

allot

( n -- ) 

Allocate n bytes in the dictionary. 

forget name

( -- ) 

Remove word from dictionary and all subsequent words. 

here

( -- adr ) 

Address of top of dictionary. 

is name

( n -- ) 

Install a new action in a defer word or value.

patch new-word old-word word-to-patch

( -- ) 

Replace old-word with new-word in word-to-patch.

(patch

( new-n old-n acf -- ) 

Replace old-n with new-n in word indicated by acf.