Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #44204

Re: props to gforth

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: props to gforth
Date 2015-12-12 02:38 +0100
Organization A noiseless patient Spider
Message-ID <n4ftmo$u1f$1@dont-email.me> (permalink)
References <6b67408b-0b5c-487f-85c0-eca187bc2812@googlegroups.com> <2015Dec11.231603@mips.complang.tuwien.ac.at>

Show all headers | View raw


Anton Ertl wrote:
>>: hier-print ( list-addr -- ) recursive
>>   dup comp-name  ." ==> " dup comp-print cr
>>   ['] hier-print do-each
>>;
> 
> Ok, so I'm not the only one who passes the xt of the current word to
> some other word.

In the current development version, you can also use ['] recurse to do that.  
RECURSE there is an alias to the latest definition.  We don't go so far that 
POSTPONE RECURSE postpones the current definition; that would be a bug IMHO.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

props to gforth beeflo <beeflobill@gmail.com> - 2015-12-11 12:58 -0800
  Re: props to gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-11 22:16 +0000
    Re: props to gforth beeflo <beeflobill@gmail.com> - 2015-12-11 14:50 -0800
      Re: props to gforth Paul Rubin <no.email@nospam.invalid> - 2015-12-11 15:23 -0800
    Re: props to gforth Bernd Paysan <bernd.paysan@gmx.de> - 2015-12-12 02:38 +0100
      Re: props to gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-12 16:12 +0000
        Re: props to gforth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-12-13 11:37 +0000
          Re: props to gforth Bernd Paysan <bernd.paysan@gmx.de> - 2015-12-13 22:20 +0100
  Re: props to gforth hughaguilar96@gmail.com - 2015-12-14 19:47 -0800
    Re: props to gforth beeflo <beeflobill@gmail.com> - 2015-12-16 15:50 -0800

csiph-web