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_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   Can't save files starting with a number...
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Can't save files starting with a number...  (Read 362 times)
D.YOO


Can't save files starting with a number...
« on: Oct 3rd, 2002, 9:41pm »

ie:  5_blah
 
So I've been using _5_blah.  =\
 
fry


WWW
Re: Can't save files starting with a number...
« Reply #1 on: Oct 5th, 2002, 11:41pm »

yup, this is intentional. java classes can't be named starting with numbers.  
 
the name of your sketch (file) is related to the name of the resulting java class, so there are a few restrictions on what things can be named, in order to keep things from pooping out w/ the java compiler.  
 
i suppose if lots of people find this upsetting, we could add some extra code to unhinge the resulting class name from the sketch name, but it adds complexity, and complexity == bugs.
 
Pages: 1 

« Previous topic | Next topic »