Next: The ? operator Up: Conditionals Previous: Conditionals

The if statement

The if statement has the same function as other languages. It has three basic forms:

...or:

...or:

For example:-


Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994