even() checks whether the Integer-Value passed is even
Odd() checks wether the Integer-Value passed is odd.

PreprocessorThe function is also available in the Preprocessor, does not create machine code.

Syntax: boolean = even( Expression )
Syntax: boolean = Odd( Expression ) Example:

  dim a as byte
  if even(a) then
   print "The number ";str(a);" is even."
    print "The number ";str(a);" is odd."
  end if

See also: Fodd, Feven