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.
Page Index Toggle Pages: 1
include? (Read 761 times)
include?
Nov 16th, 2005, 11:58pm
 
i am new to this so sorry if asking for something obvious. i have searched this forums and processing reference, unfortunately i can't find a way how to separate my code (classes) into separate files and include them into my main code. is this possible?
Re: include?
Reply #1 - Nov 17th, 2005, 1:39am
 
Yes it is definately possible.
In the processing window, at the right hand side of the pale grey bar just abover the edit window, there's an arrow in a box, click on this, then select "new tab" give it a name, and you'll get a new tabbed window, which is a seperate file, that'll be included in the sketch.
Re: include?
Reply #2 - Nov 17th, 2005, 2:13am
 
aaah, i see. thanks!
Page Index Toggle Pages: 1