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 › typo in Reading.html example
Page Index Toggle Pages: 1
typo in Reading.html example (Read 757 times)
typo in Reading.html example
Nov 17th, 2005, 4:06am
 
if anyone care, i believe there is a typo in the example code on:
http://processing.org/learning/examples/reading.html

the condition:

if(xoff >= width-pix) {
   xoff = 0;
   yoff += pix;
 }

should read:

if(xoff >= width*pix) {
   xoff = 0;
   yoff += pix;
 }

peace!
Re: typo in Reading.html example
Reply #1 - Dec 9th, 2005, 1:49am
 
we care very much. but it's not a typo, the code is correct.
Page Index Toggle Pages: 1