Comments (5)
You miss the ";" at line 1 or maybe instead of int [] you should write int[]
from noc-examples-processing.
You missed a " ; " perhaps is that
from noc-examples-processing.
Thanks for the answer ! Now my code is :
int[] stuff = new int[5];
stuff[0] = 1;
stuff[1] = 1;
stuff[2] = 2;
stuff[3] = 3;
stuff[4] = 3;
int index = int(random(stuff.length));
And I have another error : "Missing right curly bracket "}" " and "unexpected token"...
from noc-examples-processing.
"unexpected token: [" exactly.
from noc-examples-processing.
Ok, I had to add {} : int[] stuff = new int[5]; {
stuff [0] = 1;
stuff [1] = 1;
stuff [2] = 2;
stuff [3] = 3;
stuff [4] = 3;
int index = int(random(stuff.length));
}
but why ?
from noc-examples-processing.
Related Issues (20)
- NOC examples in Processing fail to dowload HOT 2
- A simple question about the path following code
- MousePressed in "NOC_5_1_box2d_exercise_solved.pde"
- TimeTable Generator with Genetic Algorithm
- Shakespeare Genetic Algorithm: Question/Contribution
- Parity with 2nd edition HOT 3
- #circle checkEdges() error : chp01_vectors\NOC_1_7_motion101
- Variation of NOC_02forces_many_mutual_boundaries HOT 1
- No issue
- Exercise 5.16
- Compiltaion problem in Nature of Code
- 4.13 live sketches not working HOT 1
- Missing mouse interaction HOT 1
- Exercise_8_08_09_TreeArrayListLeaves 'pos' and 'loc' names
- exercise 2.1 balloons
- Issue with variable naming in Collision Equal Mass HOT 1
- Not Isuue But Request See this Wiki and make A tutorial
- Strange behaviour in Example NOC_2_5_fluidresistance.pde HOT 2
- Ecosystem BlobWorld
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noc-examples-processing.