Code: Select all
330 Ax = (PotPos * 5.0) - 2.5
331 Ax = Ax - Ax0
332
333 OutS = "-"
334 if Ax < 0.0 then
335 OutS = "+"
336 end if
337
338 Ax = (Fix(Abs(Ax * 100.0)) / 100.0)
Code: Select all
330 Ax = (PotPos * 5.0) - 2.5
331 Ax = Ax '- AxO
332
333 OutS = "-"
334 if Ax < 0.0 then
335 OutS = "+"
336 end if
337
338 Ax = (Fix(Abs(Ax * 100.0)) / 100.0)
BasicZX_PW.bas:334: Internal Error: no means to generate code for expression
BasicZX_PW.bas:338: Internal Error: no means to generate code for expression
Obviously, there is no need for the Ax = Ax statement but it is an odd error.
Paul