Difference between revisions of "With comments"

From WeBWorK_wiki
Jump to navigation Jump to search
(from ur manpages)
 
(changed title display)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  +
{{DISPLAYTITLE:with_comments}}
 
===with_comments===
 
===with_comments===
   

Latest 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]