Return to functionplotresponse.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.20, 2010/10/30 23:43:29 | version 1.21, 2010/10/31 12:33:02 |
---|---|
Line 718 sub end_functionplotresponse { | Line 718 sub end_functionplotresponse { |
$xmax=(defined($xmax)?$xmax:10); | $xmax=(defined($xmax)?$xmax:10); |
my $ad; | my $ad; |
if (&populate_arrays($internalid,$xmin,$xmax) eq 'no_func') { | if (&populate_arrays($internalid,$xmin,$xmax) eq 'no_func') { |
$ad='BAD_FORMULA'; | $ad='NOT_FUNCTION'; |
} else { | } else { |
$ad='INCORRECT'; | $ad='INCORRECT'; |
} | } |