Difference between revisions of "With comments"

From WeBWorK_wiki
Jump to navigation Jump to search
(from ur manpages)
 
m (WithComments moved to With comments: consistent naming)
(No difference)

Revision as of 10:48, 19 November 2009

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]