Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Iterations question

From: alberto:origen:mx at: 16-Aug-2005 22:47

Sure, I also do that when computations inside loops are not too complex... almost every time But few times when the evaluation within loops is complex, with a bunch of nested conditions, that way of coding make the code looks really ugly. I hate deep nested code, even when could be short. compare the two codes, your example is more deeply nested. mmmhhh. perhaps I still need to shake off from my brain those line-numbered BASIC vices acquired when I was a child eh? :-) 10 for l=1 to 500: if peek(l)<>x then next:else poke l,y:next alberto On Tue, 16 Aug 2005 21:35:16 -0500, Izkata <[Izkata--Comcast--net]> wrote: