[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 3385 Revision 3387
253sub TEXT { 253sub TEXT {
254 return "" if $PG_STOP_FLAG; 254 return "" if $PG_STOP_FLAG;
255 my @in = @_; 255 my @in = @_;
256 $STRINGforOUTPUT .= join(" ",@in); 256 $STRINGforOUTPUT .= join(" ",@in);
257} 257}
258
259=head2 STOP_RENDERING()
260
261 STOP_RENDERING() unless all_answers_are_correct;
262
263No text is printed and no answer blanks or answer evaluators are stored or processed until
264RESUME_RENDERING() is executed.
265
266=cut
267
258sub STOP_RENDERING { 268sub STOP_RENDERING {
259 $PG_STOP_FLAG=1; 269 $PG_STOP_FLAG=1;
260 ""; 270 "";
261} 271}
272
273=head2 RESUME_RENDERING()
274
275 RESUME_RENDERING();
276
277Resumes processing of text, answer blanks, and
278answer evaluators.
279
280=cut
281
262sub RESUME_RENDERING { 282sub RESUME_RENDERING {
263 $PG_STOP_FLAG=0; 283 $PG_STOP_FLAG=0;
264 ""; 284 "";
265} 285}
266 286

Legend:
Removed from v.3385  
changed lines
  Added in v.3387

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9