The else Statement
Syntax
if (condition) {
[ statements ]
}
else {
[ statements ]
}
An if statement can have an else clause. If condition
evaluates to false, the statements in the if subsection are skipped
and the statements within the else subsection are executed.
Example
if (User-Name == "bob") {
reject
}
else {
ok
}
The last entry in an else section can also be an actions subsection.