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

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

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

Revision 1689 Revision 1690
130 $functLLimitDefault , 130 $functLLimitDefault ,
131 $functULimitDefault , 131 $functULimitDefault ,
132 $functMaxConstantOfIntegration , 132 $functMaxConstantOfIntegration ,
133 $CA , 133 $CA ,
134 $rh_envir , 134 $rh_envir ,
135 $QUESTIONNAIRE_ANSWERS ,
135); 136);
136 137
137 138
138 139
139 140
140sub _PGanswermacros_init { 141sub _PGanswermacros_init {
141 142
142 $BR = main::PG_restricted_eval(q!$main::BR!); 143 $BR = main::PG_restricted_eval(q!$main::BR!);
143 $PAR = main::PG_restricted_eval(q!$main::PAR!); 144 $PAR = main::PG_restricted_eval(q!$main::PAR!);
144 145
145 # import defaults 146 # import defaults
146 # these are now imported from the %envir variable 147 # these are now imported from the %envir variable
147 $numRelPercentTolDefault = main::PG_restricted_eval(q!$main::numRelPercentTolDefault!); 148 $numRelPercentTolDefault = main::PG_restricted_eval(q!$main::numRelPercentTolDefault!);
148 $numZeroLevelDefault = main::PG_restricted_eval(q!$main::numZeroLevelDefault!); 149 $numZeroLevelDefault = main::PG_restricted_eval(q!$main::numZeroLevelDefault!);
157 $functVarDefault = main::PG_restricted_eval(q!$main::functVarDefault!); 158 $functVarDefault = main::PG_restricted_eval(q!$main::functVarDefault!);
158 $functLLimitDefault = main::PG_restricted_eval(q!$main::functLLimitDefault!); 159 $functLLimitDefault = main::PG_restricted_eval(q!$main::functLLimitDefault!);
159 $functULimitDefault = main::PG_restricted_eval(q!$main::functULimitDefault!); 160 $functULimitDefault = main::PG_restricted_eval(q!$main::functULimitDefault!);
160 $functMaxConstantOfIntegration = main::PG_restricted_eval(q!$main::functMaxConstantOfIntegration!); 161 $functMaxConstantOfIntegration = main::PG_restricted_eval(q!$main::functMaxConstantOfIntegration!);
161 $rh_envir = main::PG_restricted_eval(q!\%main::envir!); 162 $rh_envir = main::PG_restricted_eval(q!\%main::envir!);
163 $QUESTIONNAIRE_ANSWERS = '';
162} 164}
163 165
164 166
165 167
166########################################################################## 168##########################################################################
2434} 2436}
2435 2437
2436#### subroutines used in producing a questionnaire 2438#### subroutines used in producing a questionnaire
2437#### these are at least good models for other answers of this type 2439#### these are at least good models for other answers of this type
2438 2440
2439my $QUESTIONNAIRE_ANSWERS=''; # stores the answers until it is time to send them 2441# my $QUESTIONNAIRE_ANSWERS=''; # stores the answers until it is time to send them
2440 # this must be initialized before the answer evaluators are run 2442 # this must be initialized before the answer evaluators are run
2441 # but that happens long after all of the text in the problem is 2443 # but that happens long after all of the text in the problem is
2442 # evaluated. 2444 # evaluated.
2443# this is a utility script for cleaning up the answer output for display in 2445# this is a utility script for cleaning up the answer output for display in
2444#the answers. 2446#the answers.

Legend:
Removed from v.1689  
changed lines
  Added in v.1690

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9