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

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

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

Revision 3297 Revision 4771
127 die "custom_list_cmp requires a correct answer" unless defined($correct); 127 die "custom_list_cmp requires a correct answer" unless defined($correct);
128 die "custom_list_cmp requires a checker subroutine" unless defined($checker); 128 die "custom_list_cmp requires a checker subroutine" unless defined($checker);
129 $correct = Value::makeValue($correct); 129 $correct = Value::makeValue($correct);
130 $correct = main::Formula($correct) unless Value::isValue($correct); 130 $correct = main::Formula($correct) unless Value::isValue($correct);
131 $correct->cmp( 131 $correct->cmp(
132 custom_list_checker => $checker, 132 list_checker => $checker,
133 @custom_list_cmp_defaults, 133 @custom_list_cmp_defaults,
134 @_, 134 @_,
135 ); 135 );
136} 136}
137 137

Legend:
Removed from v.3297  
changed lines
  Added in v.4771

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9