We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › How to work with multiple files in one project
Page Index Toggle Pages: 1
How to work with multiple files in one project (Read 488 times)
How to work with multiple files in one project
Jun 3rd, 2006, 11:05pm
 
Hello everyone,

I've recently discovered processing and am now working on my first larger-scale project with it, after having made several smaller ones.  I'd like to use the object-oriented approach and have multiple files for different classes in my application.

Is this supported with Processing?  How can I import the processing libraries into my separate class files so they have access to the processing methods?

Thanks,
Ben
Re: How to work with multiple files in one project
Reply #1 - Jun 4th, 2006, 12:24am
 
Ah, I figured it out.  I just was having a strange syntax error that I didn't recognize, and thought it had to do with the multiple files, when it was actually unrelated.

Cheers,
Ben
Page Index Toggle Pages: 1