Added save_answer_to_file to the answer macros. Useage:
TEXT(ans_box(5,80) );
ANS(save_answer_to_file('preflight'));
Saves the answer entered into the answerbox to a file preflight.log
in the logs directory of the course.
The actual writing mechanism is contained in the file AnswerIO.pm
|