> On Jan 8, 2017, at 6:55 PM, Ryan Joseph <[email protected]> wrote:
>
> why am I getting this error? Operator is not overloaded: "Double" mod
> “LongInt”. Mod can’t be used with double and integers like in C?
Sorry for the repeat. Same error here but "Operator is not overloaded: "Double"
and “Byte””. This worked in c as "xi = x & 255"
x: double;
xi: integer;
xi := x and 255;
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal