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

Posts: 81
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #1
RE: continue statement

Say you have a loop where you are reading through a database. Some records require extensive processing, some minimal processing, and some no processing at all. The conditions for checking which level of processing is required are complex. The continue statement allows you to do this in a gracious manner by avoiding hellacious nested if statements.

08-15-2008 03:32 PM
Visit this user's website 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: