[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 5269 Revision 5442
1################################################################################ 1################################################################################
2# WeBWorK Program Generation Language 2# WeBWorK Program Generation Language
3# Copyright � 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright � 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: pg/macros/PG.pl,v 1.31 2007/07/13 22:43:22 sh002i Exp $ 4# $CVSHeader: pg/macros/PG.pl,v 1.32 2007/08/09 23:24:56 jj Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
388 388
389 ENDDOCUMENT(); 389 ENDDOCUMENT();
390 390
391When PG problems are evaluated, the result of evaluating the entire problem is 391When PG problems are evaluated, the result of evaluating the entire problem is
392interpreted as the return value of ENDDOCUMENT(). Therefore, ENDDOCUMENT() must 392interpreted as the return value of ENDDOCUMENT(). Therefore, ENDDOCUMENT() must
393the last executable statement of every problem. It can only appear once. It 393be the last executable statement of every problem. It can only appear once. It
394returns an list consisting of: 394returns a list consisting of:
395 395
396=over 396=over
397 397
398=item * 398=item *
399 399

Legend:
Removed from v.5269  
changed lines
  Added in v.5442

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9