[Aimmath-commit] AIM/doc format.html,1.3,1.4
Brought to you by:
gustav_delius,
npstrick
From: <mo...@us...> - 2003-09-04 03:37:40
|
Update of /cvsroot/aimmath/AIM/doc In directory sc8-pr-cvs1:/tmp/cvs-serv902 Modified Files: format.html Log Message: added the declarations: global ans1; to the top of the solution procs in the example question "primes". Otherwise the question gives an error when a composite number is entered (under Maple 9) Index: format.html =================================================================== RCS file: /cvsroot/aimmath/AIM/doc/format.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** format.html 2 Sep 2003 07:11:56 -0000 1.3 --- format.html 4 Sep 2003 03:37:36 -0000 1.4 *************** *** 269,272 **** --- 269,273 ---- ap> $p_1 =$ s> [proc(ans) + global ans1; if isprime(ans) then if ans > lowerbound then *************** *** 292,295 **** --- 293,297 ---- ap> $p_2 =$ s> [proc(ans) + global ans1; if not type(p1, posint) then # Make sure the student did in fact answer the first part!! |