You can find the documentation at http://webwork.rochester.edu/docs/docs/pglanguage/pod/pgbasicmacros.html but admittedly it's pretty terse.
For examples look at some of the problems in the list below. Note that
if $showHint = 3, it means that a ShowHints checkbox will be visiable
to the student after she has submitted answers 3 times. The default is
1 (it's configurable). Also note that a few problems below have made
the mistake of using $showHints which is wrong but might be a common
error. Maybe we should change the code to accept either showHint or
showHints.
Arnie setDerivatives8RelatedRates/c2s8p5.pg:$showHint=0; setDerivatives9Approximations/c2s9p8.pg:$showHint=0; setDiffEQ3Separable/ur_de_3_3.pg:$showHint = 1; setDiffEQ3Separable/ur_de_3_4.pg:$showHint = 1; setDiffEQ3Separable/ur_de_3_5.pg:$showHint =1; setDiffEQ3Separable/ur_de_3_8.pg:$showHint =4; setDiffEQ4Linear1stOrder/ur_de_4_1.pg:$showHint = 4; setDiffEQ4Linear1stOrder/ur_de_4_2.pg:$showHint = 4; setDiffEQ4Linear1stOrder/ur_de_4_8.pg:$showHint=4; setDiffEQ5ModelingWith1stOrder/ur_de_5_3.pg:$showHint = 2; setAlgebra36SeqSeries/ns8_1_5.pg:$showHints = 1; setAlgebra36SeqSeries/ns8_1_5a.pg:$showHints = 1; setAlgebra36SeqSeries/ns8_1_5new.pg:$showHints = 1; setAlgebra36SeqSeries/sum3.pg:$showHint=0; setSampleAnswers/sample_units_ans.pg setDerivatives8RelatedRates/c2s8p5.pg setDerivatives9Approximations/c2s9p8.pg setIntegrals0Theory/ur_in_0_12.pg setIntegrals10InvTrig/ur_in_10_3.pg setIntegrals23Work/ns6_5_12.pg setIntegrals25RationalFunctions/ur_in_25_16.pg setIntegrals4FTC/sc5_4_19.pg setIntegrals4FTC/ur_in_4_11.pg
<| Post or View Comments |>
|