--- loncom/homework/caparesponse/caparesponse.pm 2003/03/13 16:24:13 1.83
+++ loncom/homework/caparesponse/caparesponse.pm 2003/03/21 15:33:46 1.84
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# caparesponse definition
#
-# $Id: caparesponse.pm,v 1.83 2003/03/13 16:24:13 sakharuk Exp $
+# $Id: caparesponse.pm,v 1.84 2003/03/21 15:33:46 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -232,11 +232,11 @@ sub end_numericalresponse {
for ($ind=0;$ind<$number_of_bubbles;$ind++) {
$bubbles_values[$ind] = $answers[0]*($factor**($power-$powers[$#powers-$ind]));
}
- my @alphabet = ('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
- 'Q','R','S','T','U','V','W','X','Y','Z');
+ my @alphabet=('A'..'Z');
if ($target eq 'web') {
if ($$tagstack[-1] eq 'numericalresponse') {
my $id=$Apache::inputtags::response[-1];
+ $result.=' (in '.$unit.')
';
$result.= '