Enable_Mode       : Enable_Set; // bit 14 .. 15/leftmost bits
With an x86 the "leftmost bits" will be in the "rightmost" (second) of the two bytes,

with an 68K the "leftmost bits" will be in the "leftmost" (first) of the two bytes,

So the two can't communicate this record via files or via network.

If you want to have them understand each other, you need to define the edianess of the record independently of that of the processor. Enumerated types don't help here.

-Michael

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

Reply via email to