|
Author |
Topic: code bug (Read 330 times) |
|
pwang
|
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
|
Re: code bug
« Reply #1 on: Sep 30th, 2003, 10:50pm » |
|
thanks alot. will be fixed in the next release.
|
|
|
|
|