Log of /trunk/pg/macros/PG.pl
Parent Directory
Revision
1896 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 17 00:45:28 2004 UTC (9 years, 3 months ago) by
gage
File length: 16827 byte(s)
Diff to
previous 1791
,
to
selected 1304
Changed the naming of arrays from ArRaY[0,0,0] to ArRaY__0:0:0:__
This involved changes in PG.pl and PGmorematrixmacros (ans_array_filter)
Made other cosmetic fixes to code. Added names to many filters to help with
debugging. It seems to work for now.
Revision
1365 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 11 20:18:57 2003 UTC (9 years, 11 months ago) by
lr003k
File length: 15999 byte(s)
Diff to
previous 1304
In order to make ans_array entries "sticky" I've had to change some stuff.
The answer labels for these entries are now put into $main::PG_FLAGS{ANSWER_ENTRY_ORDER} as an array reference in PG.pl.
In processProblem8.pl the labels are caught again in the subroutines logCourseData and encode_submitted_answers. It is important that
they're caught there rather than earlier because then the translator would think that every entry was it's own answer.
Professor Gage says that processProblem8.pl is no longer used in webwork2, and he says he'll fix this there.
Revision
1304 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
Modified
Mon Jun 30 23:24:29 2003 UTC (9 years, 11 months ago) by
gage
File length: 15755 byte(s)
Diff to
previous 1280
removed unnecessary "no strict, use strict" pair
--Mike
Revision
1122 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 11 14:54:27 2003 UTC (10 years ago) by
lr003k
File length: 13744 byte(s)
Diff to
previous 1080
,
to
selected 1304
Added two methods for naming the blanks in ans_array. The names now have the format ArRaY3[1,0,2] (this would be the name of
the 3rd answer (it's taken from main::answer_count which is then incremented so the answer before it is AnSwEr2 and the
answer after it is AnSwEr4) and it would be the second matrix or vector in the answer ( I need to take multiple vectors for
things like basis cmp, so ans_array_extension puts the vectors in different locations) and the 0 and 2 are row and column in
that matrix or vector.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.