Difference between revisions of "Odd"
From Lazarus wiki
Jump to navigationJump to search (new) |
(fix lang bar) |
||
Line 14: | Line 14: | ||
The value supplied to {{HL|odd}} can be any integer: longint, longword, int64 or qword. | The value supplied to {{HL|odd}} can be any integer: longint, longword, int64 or qword. | ||
− | {{Logical operators}} | + | {{Logical operators}} |
* [[https://www.freepascal.org/docs-html/3.0.0/rtl/system/odd.html On-Linr documentation for the "odd" function]] | * [[https://www.freepascal.org/docs-html/3.0.0/rtl/system/odd.html On-Linr documentation for the "odd" function]] | ||
[[Category:Operators]] | [[Category:Operators]] |
Revision as of 00:14, 17 October 2020
│
Deutsch (de) │
English (en) │
polski (pl) │
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.
Usage:
{{{1}}}
or
if odd(i) then ...
Where
The value supplied to odd
can be any integer: longint, longword, int64 or qword.
operators |
|
---|---|
see also |
|