[fpc-pascal] Syserrormessage, parameter data type

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Oct 6 18:18:10 CEST 2014


Am 2014-10-05 um 15:08 schrieb Michael Van Canneyt:
>
> A typecast will be needed somewhere.

Yes, instead of assigning the two values as in

Integer_Type := DWord_Type;

MOVE could be used:

move(DWord_Type,Integer_Type,sizeof(DWord_Type));

This way no range check would trigger and no bit would be changed either.



More information about the fpc-pascal mailing list