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 › Missing < in the pixels[] example
Page Index Toggle Pages: 1
Missing < in the pixels[] example (Read 578 times)
Missing < in the pixels[] example
Sep 3rd, 2007, 4:48am
 
In the example for pixels[], the for loop reads

for (int i=0; idimension; i+=2) {

and needs the < in between the i and dimension in order to work.

JJ


http://processing.org/reference/PImage_pixels.html
Page Index Toggle Pages: 1