Square1
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 18 articles for 0.000 sec
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Jerry Avins
Date: Oct 4, 2007 13:23

... Gforth, support the word RECURSIVE, which allows writing the code above as : terraform ( pt1 pt2 pt3 pt4 delta level --) recursive heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; So RECURSIVE is another word for SMUDGE. I thought SMUDGE was rather ...
Show full article (0.86Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: George Hubert
Date: Oct 4, 2007 11:12

... Gforth, support the word RECURSIVE, which allows writing the code above as : terraform ( pt1 pt2 pt3 pt4 delta level --) recursive heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; So RECURSIVE is another word for SMUDGE. No, it's not...
Show full article (1.19Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Andrew Haley
Date: Oct 4, 2007 09:42

...pt1 pt2 pt3 pt4 delta level --) recursive heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then...pt1 pt2 pt3 pt4 delta level --) heights! dup if [ smudge ] square1 terraform square2 terraform square3 terraform square4 terraform [ smudge ...
Show full article (0.92Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Andrew Haley
Date: Oct 4, 2007 09:28

... with both of these. If you have Standard Forth and DEFER, it's just: defer terraform :noname ( pt1 pt2 pt3 pt4 delta level --) heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; is terraform which I guess it a bit more obscure than using RECURSE but I prefer ...
Show full article (1.47Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: William James
Date: Oct 4, 2007 09:22

... Gforth, support the word RECURSIVE, which allows writing the code above as : terraform ( pt1 pt2 pt3 pt4 delta level --) recursive heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; So RECURSIVE is another word for SMUDGE. I thought SMUDGE was rather cute and gnarly....
Show full article (0.54Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: William James
Date: Oct 4, 2007 09:18

...several Forth systems, including at least iForth, bigForth, PFE and Gforth, support the word RECURSIVE, which allows writing the code above as : terraform ( pt1 pt2 pt3 pt4 delta level --) recursive heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; So RECURSIVE
Show full article (0.47Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Anton Ertl
Date: Oct 4, 2007 07:30

... :noname ( pt1 pt2 pt3 pt4 delta level --) heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop ... ( pt1 pt2 pt3 pt4 delta level --) recursive heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; ...
Show full article (1.72Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Andrew Haley
Date: Oct 4, 2007 03:00

...utility / readability of RECURSE. If you have Standard Forth and DEFER, it's just: defer terraform :noname ( pt1 pt2 pt3 pt4 delta level --) heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; is terraform which I guess it a bit more obscure than using RECURSE but I prefer it. Andrew....
Show full article (0.80Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Marcel Hendrix
Date: Oct 3, 2007 12:03

... my colours are showing (Reva Forth). It turned out to be easier than I thought: : terraform ( pt1 pt2 pt3 pt4 delta level --) heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; That is one really weird Forth system! I would never have exepcted that to work...
Show full article (0.67Kb) · Show article thread
Re: questions from forth dimension 'fractal' code     

Group: comp.lang.forth · Group Profile · Search for Square1 in comp.lang.forth
Author: Andrew Haley
Date: Oct 3, 2007 01:34

..., my colours are showing (Reva Forth). It turned out to be easier than I thought: : terraform ( pt1 pt2 pt3 pt4 delta level --) heights! dup if square1 terraform square2 terraform square3 terraform square4 terraform then 3drop 3drop ; That is one really weird Forth system! I would never have exepcted that to work. :-) ...
Show full article (0.45Kb) · Show article thread
1 · 2 · next