Bug 510 : Class - compiling error
Last modified: 2007-02-03 12:29




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P2
Severity:
normal

 

Reporter:
katy_lil
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-02-03 06:44
class Score{

//Score() {}
Etude e = new Etude(this);

void setup(){


e.createPart("piano");
e.createPart("guitar", e.GUITAR);
e.createPart("drum", e.HI_HAT, 9);
}

void draw(){}
}


*Compile Error*
Additional Comment #1 From fry 2007-02-03 08:59
do you have a setup() and draw() method in the main tab? that looks like
you might just be confusing the compiler.