This is doing my head in..

BlitzMax Forums/BlitzMax Beginners Area/This is doing my head in..

Who was John Galt?(Posted 2004) [#1]
This....
c.x=c.x- ((c.rad/dis)-1.)*(sl.x2-c.x)


is giving me 'Expected expression but encountered )' on compile. Help! I must of counted those brackets a hundred times. What's wrong?

This is also giving an error
If px>0. And px<sl.l 

and I'm only doing a minor rewrite from B+.


Who was John Galt?(Posted 2004) [#2]
Apparently Max doesn't like 1. instead of 1.0