FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Website, Reference, Example Bugs
(Moderator: REAS)
   code bug
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: code bug  (Read 330 times)
pwang

WWW Email
code bug
« on: Sep 27th, 2003, 8:45am »

The example listed in this page contains an error.
Inside the "for loop", it should be "int i = 0" instead of "int = 0"  

 
http://www.proce55ing.net/reference/loadStrings_.html
 
Code:

String lines[] = loadStrings("list.txt");  
println("there are " + lines.length + " lines");  
for (int = 0; i < lines.length; i++) {  
  println(lines[i]);  
}  
« Last Edit: Sep 27th, 2003, 8:50am by pwang »  
REAS


WWW
Re: code bug
« Reply #1 on: Sep 30th, 2003, 10:50pm »

thanks alot. will be fixed in the next release.
 
Pages: 1 

« Previous topic | Next topic »