Help for this page

Select Code to Download


  1. or download this
    $count = 0;
    while (++$count < 10) {
        print "count is now $count\n";
    }
    
  2. or download this
    For ($count=1;  $count<10;  ++$count) {
        print "count is now $count\n";
    }