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 include other Files
Page Index Toggle Pages: 1
How to include other Files? (Read 362 times)
How to include other Files?
Jul 22nd, 2008, 7:06pm
 
Hi!

I'd like to include other files, to make my main file smaller. To Orginaze the code. Like to have UI classes in one file, and other classes in another file... so the main code woud be readable, and easier to develop apps. So there must be a statement for this, as usaly.

Pleas Help.

Thanks!
Re: How to include other Files?
Reply #1 - Jul 22nd, 2008, 7:38pm
 
You don't need any statements at all.. just hit the "->" button at the right of the processing window, and select "New Tab".

That creates an extra window, where you can put some classes, and it automatically gets included into your program.

You can have as many tabs as you want.
Re: How to include other Files?
Reply #2 - Aug 3rd, 2008, 12:59pm
 
thanks a lot!
Page Index Toggle Pages: 1