|
From: Chris S. <san...@us...> - 2005-11-24 18:58:24
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30311/scripts Modified Files: stackCAS.php Log Message: Index: stackCAS.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackCAS.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** stackCAS.php 19 Nov 2005 15:33:54 -0000 1.13 --- stackCAS.php 24 Nov 2005 18:58:17 -0000 1.14 *************** *** 262,266 **** $exp1 = str_replace('?','qmchar',$exp1); - $exp2 = str_replace('?','qmchar',$exp2); $loclistA = ''; --- 262,265 ---- *************** *** 289,293 **** // Ensure that the student's answer is not automatically simplified ! $cas_cmd .= " cab:block([ ans,str{$loclistA}] {$loclistC}, "; $cas_cmd .= " simp:false, "; $cas_cmd .= " print(\"[ Timestamp = [ 0 ], Ans= [ error = [\"), cte(\"ans\",errcatch(ans:$exp1)),"; --- 288,292 ---- // Ensure that the student's answer is not automatically simplified ! $cas_cmd = " cab:block([ ans,str{$loclistA}] {$loclistC}, "; $cas_cmd .= " simp:false, "; $cas_cmd .= " print(\"[ Timestamp = [ 0 ], Ans= [ error = [\"), cte(\"ans\",errcatch(ans:$exp1)),"; |