FOR .. NEXT 
Author Message
 FOR .. NEXT

Quote:
> JS> : THRU ( 1st last)
> JS>   1+ OVER -
> JS>   FOR  DUP PUSH  LOAD  POP 1+  ?SCROLL  NEXT  DROP ;

: THRU  ( first last -- )   1+ SWAP  DO  I LOAD  LOOP  ;

You see, DO .. LOOP does have its advantages in some applications.

I find it amusing that Chuck introduced a bug in cmForth because of
his zeal for eliminating DO .. LOOP

Mitch



Sun, 01 Aug 1993 03:21:20 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Next vs. Access.fliename.Next()

2. NeXT/NeXT STEP Oberon?

3. Array#next - Enumerable#next ?

4. call-next-next-method

5. Next generation virtual OS written in Smalltalk

6. Java really *is* the next version of Visual Basic

7. APL display postscript font for NeXT

8. Possible Catenation Bug In J 5.0 for the NeXT

9. Next APL Conference: APL92 6-10 July 1992 St. Petersburg, Russia

10. J for the NeXT

11. Can't compile v6.2 on the NeXT

12. Dolphin and DotNet in next version?

 

 
Powered by phpBB® Forum Software