Return to response.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.63, 2002/07/29 20:40:34 | version 1.64, 2002/09/26 20:45:00 |
---|---|
Line 91 sub setrandomnumber { | Line 91 sub setrandomnumber { |
$rndseed=$rndseed | $rndseed=$rndseed |
+&Apache::lonnet::numval($Apache::inputtags::response['-1']); | +&Apache::lonnet::numval($Apache::inputtags::response['-1']); |
} | } |
srand($rndseed); | &Math::Random::random_set_seed_from_phrase($rndseed); |
&Apache::lonxml::debug("randseed $rndseed"); | &Apache::lonxml::debug("randseed $rndseed"); |
return ''; | return ''; |
} | } |