Group: comp.lang.forth · Group Profile · Search for A role for roll Re Interpreter mode loops in comp.lang.forth
Author: Aleksej Saushev
Date: Dec 30, 2007 12:05
... for human to read, and not "each to his own". \ Display 0 to 39 with 10 integers per line using a [do] ... [loop] 40 0 [do] Â Â [i] dup 10 mod 0= Â Â [if] cr [then] Â Â 3 .r [loop] cr Nicely done, but with "marker" or "forget" there would be less brackets, and it would be much simpler. Â So, ...
|