Difference between revisions of "With comments"

From WeBWorK_wiki
Jump to navigation Jump to search
m (WithComments moved to With comments: consistent naming)
(changed title display)
 
Line 1: Line 1:
  +
{{DISPLAYTITLE:with_comments}}
 
===with_comments===
 
===with_comments===
   

Latest revision as of 11: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]