Allows the program to make a decision about which code to execute. If the <b>test</b> evaluates to <b>true</b>, the statements enclosed within the block are executed and if the <b>test</b> evaluates to <b>false</b> the statements are not executed.
]]></description>
<syntax>
if (<c>test</c>) {
<c>statements</c>
}
</syntax>
<parameter>
<label>test</label>
<description><![CDATA[any valid expression that evaluates to true or false]]></description>
</parameter>
<parameter>
<label>statements</label>
<description><![CDATA[one or more statements to be executed]]></description>