Hello,
I'm not sure if this is a newsgroup, list or direct e-mail
address. In any case, I ask of anybody who can answer my
question to *send me an e-mail* at [EMAIL PROTECTED],
and not answer on the list/newsgroup/etc. (Thank you.)
My question is the following:
When having a switch statement as follows:
switch($value) {
case something:
 if(condition) {
 do_my_stuff;
 } else {
 continue;
 }
case something_else:
 do_my_other_stuff;
default:
 show_error_message;
}
Does the continue continue on evaluating (and comparing)
$value to the case statements, or does it give control to
the default: statement?
Simpler put:
Does a "continue" statement within a "switch" statement
pass control to that "switch" statement's "default:"
section?
Thanks,
KAT44

_________________________________________________________
Le journal des abonnés Caramail - http://www.carazine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to