--- loncom/homework/caparesponse/caparesponse.pm 2002/10/01 14:10:44 1.62
+++ loncom/homework/caparesponse/caparesponse.pm 2002/10/04 06:35:28 1.64
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# caparesponse definition
#
-# $Id: caparesponse.pm,v 1.62 2002/10/01 14:10:44 sakharuk Exp $
+# $Id: caparesponse.pm,v 1.64 2002/10/04 06:35:28 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -168,9 +168,9 @@ sub end_numericalresponse {
my $unit=&Apache::lonxml::get_param_var('unit',$parstack,$safeeval);
if ($target eq 'web') {
- $result="
The computer got ";
+ $result="
The correct answer is ";
} elsif ($target eq 'tex') {
- $result='\vskip 0 mm The computer got \\texttt{';
+ $result='\vskip 0 mm The correct answer is \\texttt{';
}
for (my $i=0; $i <= $#answers; $i++) {
my $answer=$answers[$i];
@@ -289,8 +289,8 @@ sub end_numericalresponse {
$result.=' '.$alphabet[$ind].': & '.$ans.' ';
if ($ind != $cou+$table_range[$j]-1) {$result.=' & ';}
}
- $j++;
$cou += $table_range[$j];
+ $j++;
$result.='\\\\\hline\end{tabular}\vskip 0 mm ';
}
}