On Apr 11, 2:19 pm, m_l_g3 <m_l...@[EMAIL PROTECTED]
> wrote:
> 2b. ANCHORED _may_ return the same address and length as were passed
> to it, so if the argument string was in a transient buffer, the
> result may also be in that transient buffer.
2b. ANCHORED _will not_ return the same address as was passed to it,
so if the argument string was in a transient buffer, the shall be
copied out of that transient buffer.
IOW, if ANCHORED is fed a string directly by:
BL PARSE gforth/VER012/REV00023/panel.pre ANCHORED
INCLUDED
that ought to work.
> INFORMATIVE we must allow the no-op implementation like
> : ANCHORED ;
INFORMATIVE we must allow for implementations that include the
semantics of intelligence of ANCHORED as the default in their Forth-94
FILES words:
: ANCHORED ( ca1 u1 -- ca2 u2 )
DUP anchored-buffer-size U> ABORT" filesystem name too long"
anchored-buffer SWAP CHARS MOVE
;


|