mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:58:07 +11:00
Add word "DELW"
This commit is contained in:
parent
2a2e3a64a4
commit
b5638d142a
@ -38,6 +38,8 @@ CREATE x -- Create cell named x. Doesn't allocate a PF.
|
|||||||
words are *not* executed.
|
words are *not* executed.
|
||||||
COMPILE x -- Meta compiles. Kind of blows the mind. See below.
|
COMPILE x -- Meta compiles. Kind of blows the mind. See below.
|
||||||
CONSTANT x n -- Creates cell x that when called pushes its value
|
CONSTANT x n -- Creates cell x that when called pushes its value
|
||||||
|
DELW x -- Delete word x. If it shadows another definition,
|
||||||
|
that definition is unshadowed.
|
||||||
DOES> -- See description at top of file
|
DOES> -- See description at top of file
|
||||||
IMMED? a -- f Checks whether wordref at a is immediate.
|
IMMED? a -- f Checks whether wordref at a is immediate.
|
||||||
IMMEDIATE -- Flag the latest defined word as immediate.
|
IMMEDIATE -- Flag the latest defined word as immediate.
|
||||||
|
@ -132,3 +132,7 @@
|
|||||||
LOOP
|
LOOP
|
||||||
2DROP
|
2DROP
|
||||||
;
|
;
|
||||||
|
|
||||||
|
: DELW
|
||||||
|
' 1 - 0 SWAP C!
|
||||||
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user