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
packages (Read 397 times)
packages
Apr 19th, 2008, 4:41pm
 
i have 3 .pde files (with one class in it each).
my problem is, i cannot instantiate class B in class A. they are all in the same folder, and so i tried to work with packages.

i get this error:
"unexpected token: package"

what should i do? i double checked the spelling and the location of the classes. any suggestions?
thanks in advance,
neon
Re: packages
Reply #1 - Apr 20th, 2008, 6:11pm
 
you don't need to package classes while you're only working within processing
Page Index Toggle Pages: 1