[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Is a value odd or even ?
Source position: line 0
function odd( |
l: LongInt |
):Boolean; |
l: LongWord |
):Boolean; |
l: Int64 |
):Boolean; |
l: QWord |
):Boolean; |
Odd returns True if X is odd, or False otherwise.
None.
|
Calculate absolute value |
|
|
Return ordinal value of an ordinal type. |
Program Example43; { Program to demonstrate the Odd function. } begin If Odd(1) Then Writeln ('Everything OK with 1 !'); If Not Odd(2) Then Writeln ('Everything OK with 2 !'); end.
lazarus-ccr.sourceforge.net |