version 1.60, 2002/09/30 18:08:09
|
version 1.61, 2002/09/30 18:32:45
|
Line 225 sub end_numericalresponse {
|
Line 225 sub end_numericalresponse {
|
if ($target eq 'web') { |
if ($target eq 'web') { |
$result.= '<table border="1"><tr>'; |
$result.= '<table border="1"><tr>'; |
for ($ind=0;$ind<$number_of_bubbles;$ind++) { |
for ($ind=0;$ind<$number_of_bubbles;$ind++) { |
if (undef @formats) { |
if ($formats[0] ne '') { |
my $ans = sprintf('%.'.$formats[0],$bubbles_values[$ind]); |
my $ans = sprintf('%.'.$formats[0],$bubbles_values[$ind]); |
$result.='<td>'.$alphabet[$ind].': '.$ans.'</td>'; |
$result.='<td>'.$alphabet[$ind].': '.$ans.'</td>'; |
} else { |
} else { |
Line 260 sub end_numericalresponse {
|
Line 260 sub end_numericalresponse {
|
} |
} |
$result.='}\hline'; |
$result.='}\hline'; |
for ($ind=$cou;$ind<$cou+$table_range[$j];$ind++) { |
for ($ind=$cou;$ind<$cou+$table_range[$j];$ind++) { |
if (undef @formats) { |
if ($formats[0] ne '') { |
my $ans = sprintf('%.'.$formats[0],$bubbles_values[$ind]); |
my $ans = sprintf('%.'.$formats[0],$bubbles_values[$ind]); |
$result.=' '.$alphabet[$ind].': & '.$ans.' '; |
$result.=' '.$alphabet[$ind].': & '.$ans.' '; |
} else { |
} else { |