should be$num=20; $while($num<30){ print "num is $num\n"; $num=$num+1;\n ; }
$num=20;<BR> while($num<30){ print "num is $num\n"; $num+=$num;\n; }
In reply to Re: while loops
by Glyndwr
in thread while loops
by root
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |