Perl Variables for Chemistry Questions (Fill-in-the-Blank Mode)

The following reserved Perl variables are used to return information or set behaviors in questions that you create in WebAssign®.

Variable

Description

$PAD

Enables a pad for answering chemistry questions (and hides symbolic formatting help icon):

$PAD='chem' enables chemPad.

$CHEM

Sets the chemPad grading mode.

$CP_MAX_WIDTH

Sets the maximum width of the chemPad tool, for example, $CP_MAX_WIDTH=400.

$MARVIN

Displays the MarvinSketch tool for answer entry and sets the MarvinSketch mode, for example, $MARVIN='complete'.

$MARVIN_START

Sets a template for a MarvinSketch question, usually using a key generated with the MarvinSketch Key Generation tool.