Skip to content

Commit c25bc3a

Browse files
committed
Add +TO and ADDR, documentation
1 parent d879604 commit c25bc3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kernel/comp.fs

+3-2
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,10 @@ opt: ( value-xt to-xt -- )
632632
\g execute @var{xt}.
633633
record-name (') (name>x) drop (comp-to) ; immediate restrict
634634

635-
' <IS> ' [IS] interpret/compile: TO ( value "name" -- ) \ gforth
635+
' <IS> ' [IS] interpret/compile: TO ( value "name" -- ) \ core-ext
636636
\g changes the value of @var{name} to @var{value}
637-
' <IS> ' [IS] interpret/compile: IS ( value "name" -- )
637+
' <IS> ' [IS] interpret/compile: IS ( value "name" -- ) \ core-ext
638+
\g changes the @code{defer}red word @var{name} to execute @var{value}
638639

639640
: <+TO> 1 to-style# ! <IS> ;
640641
: <addr> 2 to-style# ! <IS> ;

0 commit comments

Comments
 (0)