Use conditional statements to specify an action based on whether a specific condition is true or false. Conditional statements in SPLASH use the same syntax as conditional statements in C.
if (record.a = 9) record.b := 9.99;
if (record.a > 9) {
float d := record.a;
record.b := d*5;
};
Conditionals may have optional "else" statements:
if (record.a = 9)
record.b := 9.99;
else {
float d := 10.9;
record.b := d;
}