On Saturday 20 September 2008 04:08:20 pm AndrewMcHorney wrote:
> $NumberQuarterbacks = 32;
> $NumberRunningBacks = 60;
>
> $QuarterbackIndex = 0;
>
> while ($QuarterbackIndex < $NumberQuarterbacks)
> {
>      $Runningback1Index = 0;
>      while ($RunningBack1Index < $NumberRunningBacks)
>      {
>          $Runningback2Index = 0;
>          while ($RunningBack2Index < $NumberRunningBacks - 1)
>          {
>              print "QB ".$QuarterbackIndex." ";
>              print "RB1 ".$RunningBack1Index."\n ";
>
>              $RunningBack2Index = $RunningBack2Index + 1;
>          }
>
>              print "QB ".$QuarterbackIndex." ";
>              print "RB1 ".$RunningBack1Index." ";
>              print "RB2 ".$RunningBack12ndex." ";
>              $RunningBack2Index = $RunningBack2Index + 1;
>          }
>          $RunningBack1Index = $RunningBack1Index + 1;
>      }
>
>      # print "increment\n";
>      $QuarterbackIndex = $QuarterbackIndex + 1;
>      print "\n";
> }

There are a lot of errors according to:

use strict;
use warnings;
use diagnostics -verbose;


and  you have 3 opening {

and 4 closing }

-- 
Silverfox
There are those that will think me rude.
Do you want someone to do it for you?
They will be glad to, if you pay them.
To get free help one must show evidence
that one has made an honest effort to
find/figure out the answer first.

Reply via email to