note 17973 deleted from control-structures.do.while by nlopess
| From: | nlopess@php.net | Date: | Sat, 27 Dec 2003 11:49:50 +0000 |
| Subject: | note 17973 deleted from control-structures.do.while by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62543@lists.php.net to get a copy of this message | ||
Note Submitter: sebbeNOSPAM@popmail.com
----
A do..while loop ALWAYS gets executed at least ONE time, since the truth statement is in the end of
the loop. A while loop differs from this, since the truth statement is in the beginning it may never
get executed if it's false.