IF ELSE语句是脚本的基本语句。要求大家看的懂:
具体语法:
<pre>if (condition)
{
// Executes this block if
// condition is true
}
else
{
// Executes this block if
// condition is false
}
IF ELSE语句是脚本的基本语句。要求大家看的懂:
具体语法:
<pre>if (condition)
{
// Executes this block if
// condition is true
}
else
{
// Executes this block if
// condition is false
}