ConditionalsConditionals are very simply tests.
You can test for a true or a false only
Each conditional has three parts.
![]()
The values can be of any type, from a bool to an object
EXAMPLE:
bool b; b = (5 == 3);
This would result in b equalling false
![]()
The operands that can be used are:
| < | Less than |
| > | Greater than |
| == | Equal to |
| <== | Less that or equal to |
| >== | Greater than or equal to |
| <> | Not equal to |
![]()
Home Page | Table of Contents | Introduction | Programming | Extras