with_comments

From WeBWorK
Jump to: navigation, search

with_comments

Description

Wrapper for an answer evaluator which can also supply comments

Syntax

with_conmments(ans_evaluator, comment)

Params

ans_evaluator: an answer evaluator
comment: a string

Action

adds the comment to the messages returned by the answer evaluator WHEN the answer is correct or partially correct.

Notes

Should there be a second comment when the answer is incorrect?

Macro Definition File

[PGasu.pl]
follow us