Sandbox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* This one should give an error message: {{#expr: 1+ }} | * This one should give an error message: {{#expr: 1+ }} | ||
* This one should give "yes": {{#ifexpr: 1 > 0 | yes }} | * This one should give "yes": {{#ifexpr: 1 > 0 | yes }} | ||
* {{#iferror: {{#expr: 1 + 2 }} | error | correct }} → correct | |||
* {{#iferror: {{#expr: 1 + X }} | error | correct }} → error | |||
* {{#iferror: {{#expr: 1 + 2 }} | error }} → 3 | |||
* {{#iferror: {{#expr: 1 + X }} | error }} → error | |||
* {{#iferror: {{#expr: 1 + 2 }} }} → 3 |
Revision as of 22:32, 11 October 2010
Parser Functions Test
- This one should give an error message: Expression error: Missing operand for +.
- This one should give "yes": yes
- correct → correct
- error → error
- 3 → 3
- error → error
- 3 → 3