Would this work for you? enum := #(#one #two #three). enum indexOf: #two.
I haven't ever programmed in Java, but I remember when VB had something similar...
I haven't found the need for it in Smalltalk yet, though...however, I'm just getting the hang of it...
Rob
On Fri, Sep 26, 2008 at 6:06 PM, Mark Volkmann mark@ociweb.com wrote:
Is there an equivalent of Java's enumerated values (enum) in Smalltalk?
Mark Volkmann
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners