|
Author |
Topic: java/P5 inconsistency (Read 358 times) |
|
benelek
|
java/P5 inconsistency
« on: Mar 14th, 2003, 2:44pm » |
|
mm, im gettin red errors when trying to compile the following in P5, but it works fine if run directly in java: www.instituteofmedia.com/benelekthing/ ...any explanations are welcome. -jacob
|
|
|
|
fry
|
Re: java/P5 inconsistency
« Reply #1 on: Mar 14th, 2003, 6:28pm » |
|
i'm guessing it's because of a bug in kjc, the compiler we've been using, that prevents the use of p5 functions in the constructors of another class.. in your case, it's dying because of random() being used in the constructor for boxR(). we plan to swap out kjc and use a better compiler since this is a significant problem.
|
|
|
|
fry
|
Re: java/P5 inconsistency
« Reply #2 on: Aug 15th, 2003, 6:48pm » |
|
fixed in 57/58.
|
|
|
|
|