From 8e8d3133f5ea0f322ad4d1fd13fda1177755189f Mon Sep 17 00:00:00 2001 From: mgcaret Date: Wed, 22 Jan 2020 17:56:29 -0800 Subject: [PATCH] Fix doc for BEHAVIOR --- asm/forth-dictionary.s | 3 ++- docs/forth_dictionary.md | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/asm/forth-dictionary.s b/asm/forth-dictionary.s index 0aad9c5..8e71bbe 100644 --- a/asm/forth-dictionary.s +++ b/asm/forth-dictionary.s @@ -5822,7 +5822,8 @@ dword DEFER,"DEFER" EXIT eword -; H: ( [name< >] -- ) Return the first cell of the body of name, which should be a DEFER word. +; H: ( xt -- ) Return the first cell of the body of word at xt, normally a DEFER word +; H: but will do the same on some other types of words (CREATE, VARIABLE, VALUE, etc). dword BEHAVIOR,"BEHAVIOR" ENTER .dword rBODY diff --git a/docs/forth_dictionary.md b/docs/forth_dictionary.md index 06ed927..86762d9 100644 --- a/docs/forth_dictionary.md +++ b/docs/forth_dictionary.md @@ -1,6 +1,6 @@ # Forth Dictionary -Updated: 2020-01-22 17:13:58 -0800 +Updated: 2020-01-22 17:56:07 -0800 ## ! @@ -632,7 +632,8 @@ Execution: _( -- )_ start a BEGIN loop ## BEHAVIOR -_( [name< >] -- )_ Return the first cell of the body of name, which should be a DEFER word. +_( xt -- )_ Return the first cell of the body of word at xt, normally a DEFER word +but will do the same on some other types of words (CREATE, VARIABLE, VALUE, etc). ## BELL