The following reserved Perl variables are used to return information or set behaviors in questions that you create in WebAssign.
Variable |
Description |
---|---|
|
Sets the required decimal places, for example,
|
|
Sets the required number of significant figures as a positive integer,
for example, |
|
Hides the significant figures help icon/link. |
|
Set |
|
Set |
|
Set |
|
Sets the width of the answer box, for example, |
|
Returns numerical value from student's response to numerical with units question. Important Changing the value of this
variable can cause your student's answer to be graded incorrectly.
|
|
Returns unit from student's response to numerical with units question. Important Changing the value of this
variable can cause your student's answer to be graded incorrectly.
|
|
Sets asymmetrical tolerances. For example:
|
|
For answer-dependent questions, set $LABEL to a unique identifier for each answer box that is used as a dependency for another answer box. |
|
For answer-dependent questions, set $LINK to define the dependencies of the current answer box by referencing the labels of other answer boxes. |