if

final_realms_fluffos_v1/lib/doc/driver/lpc/constructs/if · 416 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

* The if else statement:

LPC's if statement is identical to that provided by C.  Syntax is as follows:

if (expression)
    statement;

Alternately:

if (expression) {
    statements;
}

Alternately:

if (expression0) {
    statements;
} else {
    statements1;
}

Alternately:

if (expression0) {
    statements0;
} else if (expression1) {
    statements1;
}

The number of else clauses is not explicitly limited.

Site Stats

Snippets: 1791
Codebases: 571