Group: comp.lang.forth · Group Profile · Search for Bang1 in comp.lang.forth
Author: J Thomas
Date: Mar 2, 2007 07:48
... cause a performance hit, only a very slight compile- time hit. Wil Baden made his THENS command which palliates it. Somehow I never noticed until now that you can get a similar result with multiple BEGINs. : bang1 0 BEGIN BEGIN 1+ cr dup 3 mod DUP 0= if ." Fizz" then over 5 mod dup 0= if ." Buzz" then or 0= UNTIL dup . dup 100 UNTIL ; I certainly don't...
|