> Well, you should probably mention that this replacement solution is not
> portable to big endian platforms / targets.
> 
> Tomas

If one want to write portable code, what would be best, or would both work on a 
big endian 
platform.

Carsten

var 
  b:byte;
  i:LongInt;

b := i and 255;
b:= i mod 256;
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to