The following code causes the PB/DLL Version 5.0 compiler to GPF
(All variables are local longs)
Y = (Y2 - Y1) * (X - X1) \ (X2 - X1) + Y1
But this is ok
Y = ((Y2 - Y1) * (X - X1)) \ (X2 - X1) + Y1
There is no difference in the order of precedence or am I missing
something here?
(All variables are local longs)
Y = (Y2 - Y1) * (X - X1) \ (X2 - X1) + Y1
But this is ok
Y = ((Y2 - Y1) * (X - X1)) \ (X2 - X1) + Y1
There is no difference in the order of precedence or am I missing
something here?
Comment