[fpc-pascal] Lo
Carsten Bager
carsten at beas.dk
Tue Jan 11 10:38:49 CET 2011
Hi
Is there a reason why the lo function returns the lo word from a longint in FPC and not the lo
byte as in Delphi.
Regards Carsten
------
Delphi 5 Doc
------------------------------
function Lo(X): Byte;
Description
Lo returns the low-order Byte of the argument X as an unsigned value. X is an expression of
type Integer.
Fpc 224 Doc
------------------
Synopsis: Return low byte/word of value.
Declaration: function lo(B: Byte) : Byte
function lo(i: Integer) : Byte
function lo(w: Word) : Byte
function lo(l: LongInt) : Word
function lo(l: DWord) : Word
function lo(i: Int64) : DWord
function lo(q: QWord) : DWord
More information about the fpc-pascal
mailing list