On Thu, January 13, 2011 09:01, _-jan...@web.de wrote:
> A simple but fully functional kludge to make lo compatible with Delphi is
>
>  type lo=byte;
>
> Unfortunately for the similar cases of hi and swap you must provide a
> function which cannot be used in a manifest constant expression.

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

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to