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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal