Difference between revisions of "If"
→Overview
imported>Saebel (Added section on the use of Elseif and Else) |
|||
Line 4: | Line 4: | ||
== Overview == | == Overview == | ||
An if statement uses the following syntax: | An "if" statement uses the following syntax: | ||
<pre> | <pre> | ||
Line 21: | Line 21: | ||
== Comparison Operators == | == Comparison Operators == | ||
An if statement may contain one or more comparison operators. Below is a table of valid comparison operators: | An "if" statement may contain one or more comparison operators. Below is a table of valid comparison operators: | ||
{|border="1" cellpadding="5" cellspacing="0" | {|border="1" cellpadding="5" cellspacing="0" |