set variables used in an interactive quiz - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Education : Grading : Quiz : Grading/Quiz/Set

Grading[Quiz][Set] - set variables used in an interactive quiz

Calling Sequence

Set( variable = value )










The Quiz:-Set command works inside an initialization or grading procedure in conjunction with the Quiz command.


All variables used by Set must be of the form `$V`, 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 Set 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.


The Quiz Example Worksheet provides a number of examples.

See Also

examples/Quiz, MapleTA, Quiz

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam