Integer Variables

Any maths operation (*,/,+,-,^) can be performed on an integer variable.

They can also be tested for equality, less than and greater than. e.g.

int chicken
if
chicken=5
....
end if

The body of the if statement will only be executed if the value of chicken equals 5.


Table of contents