Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 08 Nov 2012 08:31:20 -0600 From: Chris Hinsley Newsgroups: comp.lang.forth Date: Thu, 8 Nov 2012 14:31:20 +0000 Message-ID: <2012110814312086525-chrishinsley@gmailcom> References: <2012110713421835115-chrishinsley@gmailcom> <509bb9a2$0$6999$882e7ee2@usenet-news.net> <2012110814115169871-chrishinsley@gmailcom> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Genral advise and comments on callback style words User-Agent: Unison/2.1.9 Lines: 15 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-hfdGLR+TBueqBkEkAt1wBYGEymqfljX0ky/Bd64yrNHDrB2NORt4PfC8Cgovk2ywuAISp3SlLDlvU4i!EXs36z8lM9Xru869MvVicJWbE/Z62xu1NY6EHCTP7ANpQc/LLu4ihVHApcWJq8T1tYHTIVY= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1542 Xref: csiph.com comp.lang.forth:17157 >> : LISTHEAD-ENUMERATE-FORWARDS ( u xt lh -- ln | 0 ) >> TUCK SWAP 2>R >> LISTHEAD-GET-HEAD BEGIN >> 2DUP LISTNODE-GET-SUCC >> DUP WHILE >> 2R@ EXECUTE >> ?DUP UNTIL ELSE NIP THEN >> NIP NIP 2R> 2DROP ; Err, I'm not sure that works ! You are skipping the first node. Isn't the 2DUP also blowing up the stack with an extra copy of the original LH each time ? Chris