Re: [fpc-pascal] Lo

2011-01-11 Thread Jonas Maebe
On 11 Jan 2011, at 10:38, Carsten Bager wrote: 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. It was decided/implemented before Delphi existed and when FPC's main goal was still to become a 32 bit alternative to Turbo Pasc

[fpc-pascal] Lo

2011-01-11 Thread Carsten Bager
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.