From Lazarus wiki
Revision as of 23:06, 16 October 2020 by Rfc1394 (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Deutsch (de) English (en)
Return to Reserved words

The system function odd returns the value true if and only if the argument passed to it is odd. The odd function must be passed an integer value, it cannot accept reals.




if odd(i) then ...


B is a boolean variable and
i is an integer value.

The value supplied to odd can be any integer: longint, longword, int64 or qword.

See also