News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
continue statement
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: continue statement

Just curious....I don't understand what the benefit is. Not only does it seem nonessential, but it seems to serve no unique purpose at all. This is assuming continue merely jumps ahead to the next iteration, and doesn't have any other special use.

The Lua language already provides the same behavior, only in a passive way. Rather than specifically skipping the rest of a loop under a certain condition, you simply *don't* skip when that condition doesn't exist.

Or at least that's how I understand it =o)

08-14-2008 12:29 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
continue statement - asafp - 08-09-2008, 02:01 PM
RE: continue statement - JohnMurga - 08-11-2008, 09:01 PM
RE: continue statement - asafp - 08-12-2008, 10:41 AM
RE: continue statement - znarf - 08-13-2008, 08:57 PM
RE: continue statement - mikshaw - 08-14-2008 12:29 AM
RE: continue statement - asafp - 08-15-2008, 03:32 PM
RE: continue statement - JohnMurga - 08-15-2008, 10:47 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: