Conversion of loops

I jus wanted to know tht take place u convert any loop into a further.. for eg transforming an if loop to your for loop or maybe a do while loop with a while wend never-ending loop etc. Can anyone gimme similar examples on all kinds of loop conversions.. itz really gonna help me!

if($i < 10)
offline " something";

=

for($i = a number of value; $i < EIGHT; $i++)
offline " something";

————————————————

perform
$i += ONLY TWO;
although ($i < 10)

=

$i += ONLY TWO;
while($i = value)
$i += ONLY TWO;

Really does this help at all
(And easily messed up someplace, somebody please i want to know. ).

This entry was posted in Web Design and tagged , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *