[system] / trunk / pg / macros / problemPreserveAnswers.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/problemPreserveAnswers.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5379 Revision 5380
1 1
2sub _problemPreserveAnswers_init {PreserveAnswers::Init()} 2sub _problemPreserveAnswers_init {PreserveAnswers::Init()}
3 3
4=head1 PreserveAnswers(); 4=head1 PreserveAnswers();
5 5
6###################################################################### 6 ######################################################################
7# 7 #
8# This file implements a fragile hack to overcome a problem with 8 # This file implements a fragile hack to overcome a problem with
9# PGbasicmacros.pl, which removes special characters from student 9 # PGbasicmacros.pl, which removes special characters from student
10# answers (in order to prevent EV3 from mishandling them). 10 # answers (in order to prevent EV3 from mishandling them).
11# 11 #
12# Unfortunately, this means that "sticky" answers will lose 12 # Unfortunately, this means that "sticky" answers will lose
13# those characters, which makes it very difficult to answer 13 # those characters, which makes it very difficult to answer
14# problems with more than one answer when the student wants 14 # problems with more than one answer when the student wants
15# to submit several times while working on later parts. 15 # to submit several times while working on later parts.
16# 16 #
17# The real fix to to rewrite PGbasicmacros.pl to handle 17 # The real fix to to rewrite PGbasicmacros.pl to handle
18# this better, but this hack will handle the situation for 18 # this better, but this hack will handle the situation for
19# now until that can be accomplished. 19 # now until that can be accomplished.
20# 20 #
21# To use this hack, simply load the file using 21 # To use this hack, simply load the file using
22# 22 #
23# loadMacros("problemPreserveAnswers.pl"); 23 # loadMacros("problemPreserveAnswers.pl");
24# 24 #
25# at the top of your PG file. 25 # at the top of your PG file.
26# 26 #
27 ######################################################################
27 28
28=cut 29=cut
29 30
30package PreserveAnswers; 31package PreserveAnswers;
31 32

Legend:
Removed from v.5379  
changed lines
  Added in v.5380

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9