version 1.42, 2003/05/09 20:44:54
|
version 1.43, 2003/06/20 04:16:00
|
Line 158 sub end_numericalhint {
|
Line 158 sub end_numericalhint {
|
$expression.= ';my $'. #' |
$expression.= ';my $'. #' |
$key.'="'.$Apache::inputtags::params{$key}.'"'; |
$key.'="'.$Apache::inputtags::params{$key}.'"'; |
} |
} |
|
if ($$tagstack[-1] eq 'formulahint') { |
|
$expression.=';my $type="fml";'; |
|
} elsif ($$tagstack[-1] eq 'numericalhint') { |
|
$expression.=';my $type="float";'; |
|
} |
$expression.="');"; |
$expression.="');"; |
$result = &Apache::run::run($expression,$safeeval); |
$result = &Apache::run::run($expression,$safeeval); |
&Apache::lonxml::debug("$expression:result:$result:$Apache::lonxml::curdepth"); |
&Apache::lonxml::debug("$expression:result:$result:$Apache::lonxml::curdepth"); |