|
6.4 IF..THEN..ELSE
Another fundamental part of programming logic is the ability to offer a choice of what
to do that depends on the conditions asked of. (I'm not sure that makes any sense...).
The format is:
An example: The END-IF terminates the IF statement. All that lies between IF and END-IF will depend
on the conditions being tested.
Multiple conditions can be tested, i.e. IF (X = Y) AND (Y < 100) THEN ..
The types of conditions available are described in the following section..
| |||||