if (condition) {
[ statements ]
}
The if Statement
Syntax
The if
statement evaluates a condition. When the
condition evaluates to true
, the statements within the subsection
are executed. When the condition evaluates to false
, those
statements are skipped.
Example
if (&User-Name == "bob") {
reject
}