previous  next
IsEven, IsOdd
Syntax
IsEven(N:INT):BOOL
IsOdd(N:INT):BOOL
Summary
test whether an integer is even or odd
Description
These functions test whether an integer is even or odd. 

Example

IsEven(3);
FALSE
-------------------------------
IsOdd(3);
TRUE
-------------------------------
See also: