We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Curious thing (Read 610 times)
Curious thing
Aug 10th, 2009, 4:11pm
 
Hello!

Last few days I've been working alot with a project. I've had problems with auto formating though, without any obvious reason. Processing kept telling me I had too many right parentheses, and after several days I realised the reason why I got this error. This comment:
Code:

//objHole[i] = new Hole(i,i*mapWidth/(numOfHoles)+(mapWidth/2)/numOfHoles,i*mapHeight/(numOfHoles)+(mapHeight/2)/numOfHoles,weightOfHole);


If I erase the // it works. Any idea why processing can't count my comments parentheses right, and why mind them at all?

h
Re: Curious thing
Reply #1 - Aug 10th, 2009, 10:33pm
 
Its a known bug... dont know what exactly the reason is, but it happens
Page Index Toggle Pages: 1