home .. forth .. colorforth mail list archive ..

[colorforth] Enhancement: Game of Life


If you insert "gen" as the first green word of the "s" definition in block
100 of the game of life posting, then "s" becomes "step" instead of
"stop"; it allows you to single-step the generations of the cells. I
almost added this as a separate keystroke, but I wanted to call it "s" and
I already had an "s" keystroke. I almost went ahead anyway (colorForth
wouldn't care), but then I realized the code for "s" could itself do the
job with that simple addition of "gen", and nicely, too.

So, instead of 
  
   : s show ... ;

try

   : s gen show ... ;

...

I'll try to stop sending email on this subject now. :-)
------------------------

To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site   -   http://www.colorforth.com