From 6f082b0b13e9f85d960956bef44a33fccc2d63cb Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 9 Apr 2020 08:26:27 -0400 Subject: [PATCH] Change DELW signature --- dictionary.txt | 4 ++-- forth/core.fs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dictionary.txt b/dictionary.txt index f8dcb88..025064b 100644 --- a/dictionary.txt +++ b/dictionary.txt @@ -38,8 +38,8 @@ CREATE x -- Create cell named x. Doesn't allocate a PF. words are *not* executed. COMPILE x -- Meta compiles. Kind of blows the mind. See below. 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. +DELW a -- Delete wordref at a. If it shadows another + definition, that definition is unshadowed. DOES> -- See description at top of file IMMED? a -- f Checks whether wordref at a is immediate. IMMEDIATE -- Flag the latest defined word as immediate. diff --git a/forth/core.fs b/forth/core.fs index 54136a0..f2910ba 100644 --- a/forth/core.fs +++ b/forth/core.fs @@ -134,5 +134,5 @@ ; : DELW - ' 1 - 0 SWAP C! + 1 - 0 SWAP C! ;