get variables used in an interactive quiz
Get( variable )
The Quiz:-Get command works inside an initialization or grading procedure in conjunction with the Quiz command.
All variables used by Get must be of the form , where the name has a leading dollar sign, and the variable name is surrounded by left single quotes.
The Quiz command is a module, but not a package, so it should not be loaded via with(Quiz). However, since Get is only relevant inside a procedure, it is recommended that the first line of the procedure be the statement, uses Grading:-Quiz; so the short-form of the command name can be used.
Some special values are available to the Get command without having a corresponding Quiz:-Set call to initialize them. The user's response can be fetched via the "$RESPONSE" variable. For fill-in-the-blank questions, the initially generated value can be fetched via the "$START" variable.
The Quiz Example Worksheet provides a number of examples.
The Grading[Quiz][Get] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
Download Help Document