FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   java/P5 inconsistency
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: java/P5 inconsistency  (Read 358 times)
benelek

35160983516098 WWW Email
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


WWW
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


WWW
Re: java/P5 inconsistency
« Reply #2 on: Aug 15th, 2003, 6:48pm »

fixed in 57/58.
 
Pages: 1 

« Previous topic | Next topic »