[fpc-pascal] C# translatation

Ryan Joseph ryan at thealchemistguild.com
Sun Jan 8 13:01:18 CET 2017


> On Jan 8, 2017, at 6:55 PM, Ryan Joseph <ryan at thealchemistguild.com> 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




More information about the fpc-pascal mailing list