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

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

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

Revision 2399 Revision 2400
292} 292}
293sub ANS_NUM_TO_NAME { # This converts a number to an answer label for use in 293sub ANS_NUM_TO_NAME { # This converts a number to an answer label for use in
294 # radio button and check box answers. No new answer 294 # radio button and check box answers. No new answer
295 # name is recorded. 295 # name is recorded.
296 my $number=shift; 296 my $number=shift;
297 my $label = eval(q!$main::QUIZ_PREFIX$main::ANSWER_PREFIX$number"!); 297 my $label = eval(q!$main::QUIZ_PREFIX.$main::ANSWER_PREFIX!).$number;
298 $label; 298 $label;
299} 299}
300 300
301my $vecnum; 301my $vecnum;
302 302

Legend:
Removed from v.2399  
changed lines
  Added in v.2400

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9