System.Odd

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function Odd(X: Integer): Boolean;

Properties

Type Visibility Source Unit Parent
function public System.pas System System

Description

Returns True if argument is an odd number.

In Object Pascal code, Odd tests whether the argument is an odd number. It returns True if X is an odd number, False if X is even.

See Also


Code Examples