Jump to content

Sandbox: Difference between revisions

From ICANNWiki
No edit summary
No edit summary
Line 1: Line 1:
Parser Functions Test
==Parser Functions Test==
* 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 + 2 }} | error | correct }} → correct
* {{#iferror: {{#expr: 1 + X }} | error | correct }} → error
* {{#iferror: {{#expr: 1 + X }} | error | correct }} → error

Revision as of 22:37, 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