version 1.6, 2000/02/04 21:29:20
|
version 1.7, 2000/02/09 22:10:24
|
Line 3002 capa_check_ans(ai,ans) AnswerInfo_t *ai
|
Line 3002 capa_check_ans(ai,ans) AnswerInfo_t *ai
|
result = check_formula_ans(s,ans,ai->ans_id_list,ai->ans_pts_list,tt,to); |
result = check_formula_ans(s,ans,ai->ans_id_list,ai->ans_pts_list,tt,to); |
break; |
break; |
case ANSWER_IS_EXTERNAL: /* Not yet implemented */ |
case ANSWER_IS_EXTERNAL: /* Not yet implemented */ |
|
|
break; |
break; |
} |
} |
return (result); |
return (result); |
Line 3158 capa_check_answer(p, answer) Problem_t *
|
Line 3159 capa_check_answer(p, answer) Problem_t *
|
/* we assume the external program is called through popen() */ |
/* we assume the external program is called through popen() */ |
/* and the result will be given back as 0 or 1 to indicate the */ |
/* and the result will be given back as 0 or 1 to indicate the */ |
/* given answer is correct or not */ |
/* given answer is correct or not */ |
|
/* arguments are given to the program as */ |
|
|
break; |
break; |
|
|
} |
} |