Compare two revisions of: Explanations

... ... @@ -46,3 +46,4 @@ The optional condition is an expression that can be evaluated to true of false.
46 46 | `edited(arg)` | Evaluates to true if the referenced answer was edited. _arg_ is an answer reference | `edited(ans)`, `edited(ans_4)`<br><br>[example in WebMiau](https://miau.mumie.net/web-miau/editor/content%2Fexamples%2Fexplanations%2Fprb_differentiated_feedback_1.src.tex) |
47 47 | `condition(arg)` | Substitutes this command with arg. That is helpful if one wants to reuse the same condition multiple times. _arg_ is a string variable. It's value is a valid condition expression. | declared variable: `\string{mycondition}{NOT [edited(ans)] OR count(/,ans)=0 }`, reusing it: `condition{mycondition} OR equalString(42,ans)`<br><br>[example in WebMiau](https://miau.mumie.net/web-miau/editor/content%2Fexamples%2Fexplanations%2Fprb_differentiated_feedback_1.src.tex) |
48 48 | `answerEqual(arg)` | At the moment that only works for type input.interval. It compares the current answer with the given expression _arg_. The expression may contain variables. Be aware that you have to escape brackets. | `NOT [edited] OR answerEqual(\[a;3\])`, `answerEqual(\[-infinity;3\],\(4;5\))`<br><br>[example in WebMiau](https://miau.mumie.net/web-miau/editor/content%2Fexamples%2Fexplanations%2Fprb_differentiated_feedback_3.src.tex)|
49 +| `answerExactMatch(arg)` | Analog to `answerEqual`, but the user answer has to be exactly the same. E.g. `(3;3)` and `(4;4)` are both emty sets and therefore *equal* but they are not an *exact Match*. At the moment that only works for type input.interval. | `NOT [edited] OR answerExactMatch(\[a;3\])`, `answerExactMatch(\[-infinity;3\],\(4;5\))`<br><br>[example in WebMiau](https://miau.mumie.net/web-miau/editor/content%2Fexamples%2Fexplanations%2Fprb_differentiated_feedback_3.src.tex)|
49 50