gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] Redirecting interpreter output to a counted string


From: Bernd Paysan
Subject: Re: [gforth] Redirecting interpreter output to a counted string
Date: Sun, 12 Jan 2014 22:29:43 +0100
User-agent: KMail/4.11.3 (Linux/3.11.6-4-desktop; KDE/4.11.3; x86_64; ; )

Am Sonntag, 12. Januar 2014, 12:23:55 schrieb Sam Putman:
> Thank you, that looks like it will work well. Suitably low-level for my
> purposes..
> 
> One question: >buffer-execute doesn't appear to be implemented:
> 
> ag -Q ">buffer-execute" ->
> 
> *66*:\ >buffer-execute ( ... c-addr u1 xt -- ... u2 ) execute xt while the
> 
> *82*:\ pad 0 ['] foo >buffer-execute >r drop ( throw away result of FOO )
> 
> *84*:\ r@ allocate throw r> 2dup 2>r ['] foo >buffer-execute drop 2r>
> 
> These are all comments. Is this word also available? I would prefer not to
> dynamically allocate for this use.

No, it's not available, it's only a suggestion for an alternative interface.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]