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
no enum? (Read 2151 times)
no enum?
Oct 17th, 2007, 11:52pm
 
Hi all,
I'm using Processing for past 2 months now, and today I needed to use enum in it. I thought if not Processing, java allows it anyway so it should work. But to my surprise, it did't. Can someone tell me it's really there or not?
Re: no enum?
Reply #1 - Oct 18th, 2007, 12:16am
 
this?
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html
Re: no enum?
Reply #2 - Oct 18th, 2007, 12:19am
 
this:
http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html
Re: no enum?
Reply #3 - Oct 18th, 2007, 12:21am
 
Processing is based on java 1.4 not 1.5, so there are no enums.
Re: no enum?
Reply #4 - Oct 18th, 2007, 2:28pm
 
this is covered in the faq:
http://processing.org/faq.html#java
and
http://processing.org/reference/environment/platforms.html#java
Re: no enum?
Reply #5 - Oct 18th, 2007, 2:45pm
 
I'm sorry for asking the question when it was there in the FAQ. I had searched the whole site for 'enum' and 'enumerator' etc, (from the top 'Search processing.org:') but got only one result, and that looked irrelevant. So I thought it's not there.
Re: no enum?
Reply #6 - Oct 18th, 2007, 2:57pm
 
yeah, our "search processing.org" results seem to have declined in quality significantly in the past few weeks. not sure what's up.
Re: no enum?
Reply #7 - Jan 5th, 2008, 6:38pm
 
fry wrote on Oct 18th, 2007, 2:57pm:
yeah, our "search processing.org" results seem to have declined in quality significantly in the past few weeks. not sure what's up.


well, the FAQ doesn't actually include the word "enum", only "enums", so even googling doesn't find it.

Page Index Toggle Pages: 1