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.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › Conditional Example Code Error
Page Index Toggle Pages: 1
Conditional Example Code Error (Read 1117 times)
Conditional Example Code Error
Mar 21st, 2009, 4:01pm
 
On the page: http://processing.org/reference/conditional.html

the example line for the conditional statement is:

s = (i  50) ? 0 : 255;

Note that the condition test is invalid.

Re: Conditional Example Code Error
Reply #1 - Mar 21st, 2009, 5:25pm
 
This is a problem with our XML to HTML parser. Thanks for spotting it. I'm fixing it right now.
Page Index Toggle Pages: 1