[fpc-pascal] Byte order modification in fpc on ARM?

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Oct 19 15:32:00 CEST 2015

Bo Berglund wrote on Mon, 19 Oct 2015:

> Is there a function or such to interrogate the byte order of the
> platform FPC runs on? So that I could add a test at the start of
> download to check if swapping is needed?

Use the http://www.freepascal.org/docs-html/rtl/system/ntobe.html  
function and you don't have to care about what your host platform uses.


More information about the fpc-pascal mailing list