in reply to while loops
Yours
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; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: while loops
by rob_au (Abbot) on Jan 11, 2002 at 18:41 UTC | |
by Glyndwr (Initiate) on Jan 11, 2002 at 19:11 UTC | |
Re^2: while loops
by lvanhout (Curate) on Jun 15, 2004 at 17:42 UTC |
In Section
Tutorials