Documentation removed that claims set-to words don't compile properly

parent b26c41bd
Pipeline #731 passed with stage
in 9 minutes and 46 seconds
......@@ -658,9 +658,7 @@ interpret/compile: comp:
\G Changes the @code{defer}red word @var{xt-deferred} to execute @var{xt}.
: value-to ( n value-xt -- ) \ gforth-internal
\g this is the TO-method for normal values; it's tickable, but the
\g only purpose of its xt is to be consumed by @code{set-to}. It
\g does not compile like a proper word.
\g this is the TO-method for normal values
>body !-table to-!exec ;
opt: ( value-xt -- ) \ run-time: ( n -- )
?fold-to >body postpone ALiteral !-table to-!, ;
......
......@@ -22,9 +22,7 @@ hex \ everything now hex! 11may93jaw
\ important definers
: uvalue-to ( n uvalue-xt -- )
\g uvalue-to is the to-method for uvalues; it's xt is only
\g there to be consumed by @code{set-to}.
\ should be defined with TO: OPT-TO:, but not supported by cross.fs
\g uvalue-to is the to-method for uvalues
!!?addr!! >body @ next-task + !-table to-!exec ;
opt: ( uvalue-xt to-xt -- )
?fold-to !!?addr!! >body @ postpone useraddr , !-table to-!, ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment