Template:Assert statement syntax: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<p class="syntaxUL"><b><sup>(+)</sup></b><span class="literal">Assert </span><span class="term">cond</span><span class="squareb"> [</span><span class="literal">, </span><span...") |
m (add link) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<p class="syntaxUL"> | <p class="syntaxUL">[[Assert statement|Assert]] <span class="term">cond</span><span class="squareb"> [</span><span class="literal">, </span><span class="squareb">[</span><span class="literal">Snap</span><span class="squareb">] [</span><span class="literal">Info </span><span class="term">info</span><span class="squareb">] [</span><span class="literal">Continue</span><span class="squareb">] ]</span> | ||
</p> | </p> | ||
Latest revision as of 19:57, 2 March 2017
Assert cond [, [Snap] [Info info] [Continue] ]
where cond is, like an If statement, the condition(s) being asserted as true. The statement options indicate how to respond to an assertion failure.