WeBWorK Problems

change text & score as function of attempts

Re: change text & score as function of attempts

by Paul Pearson -
Number of replies: 0
Hi,

One more thing: if you want to view all of the environment variables and their values use the macro PGinfo.pl and its method listVariables(). Here's an example.

DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGinfo.pl",
);

TEXT(beginproblem());

Context()->texStrings;
BEGIN_TEXT
\{ listVariables() \}
END_TEXT
Context()->normalStrings;

ENDDOCUMENT();