with_comments

From WeBWorK_wiki
Revision as of 11:48, 19 November 2009 by Aubreyja (talk | contribs) (changed title display)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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]