up previous next
IsEven, IsOdd

test whether an integer is even or odd

Syntax
IsEven(N: INT): BOOL
IsOdd(N: INT): BOOL

Description
These functions test whether an integer is even or odd.

Example
/**/  IsEven(3);
false
/**/  IsOdd(3);
true

See Also