FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1544 : array initialization (Processing v. 0182)
Last modified: 2010-04-13 19:17
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
1539
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Pierre Cote
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2010-04-13 18:29
float[] tmp = {0};
void setup() {
size(200,200);
}
void draw() {
tmp = {0};
}
-----------------------------
processing.app.debug.RunnerException: It looks like you're mixing "active"
and "static" modes.
at processing.app.Sketch.preprocess(Sketch.java:1326)
at processing.app.Sketch.preprocess(Sketch.java:1205)
at processing.app.Sketch.build(Sketch.java:1568)
at processing.app.Sketch.build(Sketch.java:1553)
at processing.app.Editor$DefaultRunHandler.run(Editor.java:1648)
at java.lang.Thread.run(Thread.java:613)
Additional Comment
#1 From fry 2010-04-13 19:17
your program has an error, this isn't valid syntax:
tmp = {0};
but the error reported by processing is incorrect, which is
bug #1539
.
*** This bug has been marked as a duplicate of
1539
***