--- loncom/homework/radiobuttonresponse.pm 2002/09/23 22:32:41 1.49 +++ loncom/homework/radiobuttonresponse.pm 2002/09/25 19:39:49 1.50 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.49 2002/09/23 22:32:41 albertel Exp $ +# $Id: radiobuttonresponse.pm,v 1.50 2002/09/25 19:39:49 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -156,7 +156,6 @@ sub end_foilgroup { } sub getfoilcounts { - my ($max)=@_; my @names; my $truecnt=0; my $falsecnt=0; @@ -171,7 +170,7 @@ sub getfoilcounts { $falsecnt++; } } - return ($truecnt,$falsecnt,$max); + return ($truecnt,$falsecnt); } sub displayallfoils { @@ -215,7 +214,7 @@ sub whichfoils { my @truelist; my @falselist; my @whichfalse =(); - my ($truecnt,$falsecnt,$max) = &getfoilcounts($max); + my ($truecnt,$falsecnt) = &getfoilcounts(); my $count=0; # we will add in 1 of the true statements if (($falsecnt+1)>$max) { $count=$max } else { $count=$falsecnt+1; }