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 <[EMAIL PROTECTED]> wrote:

>
>
> Since I don't know of any 'continue yet defined, I usually just do  
> something
> like this:
>
> (Using your words)
> foreach item block-of-items [
>   if not not-good-item [
>      item-evaluation
>   ]
> ]
>
> Not the best, and looks messy if there's multiple things that would
> 'continue, but it works.
>
>         -Izzy Boy
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to