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 '<' signal in createImage() example
Page Index Toggle Pages: 1
missing '<' signal in createImage() example (Read 725 times)
missing '<' signal in createImage() example
Jun 21st, 2007, 8:01am
 
The "<" is missing in the 'for' statement at the example below pasted from:
/Processing%200123/reference/createImage_.html
The other example in the same page has the same error.
In the Website though they are  ok.

PImage img = createImage(66, 66, RGB);
for(int i=0; i  img.pixels.length; i++) {
 img.pixels[i] = color(0, 90, 102);
}
image(img, 17, 17);

ps: sorry for my bad english

vicente
Re: missing '<' signal in createImage() example
Reply #1 - Jul 2nd, 2007, 10:19pm
 
Thank you for the report. It will be fixed for the next release.
Page Index Toggle Pages: 1