Of course in an ideal world one would only use enums in the way you suggest - ie where one is talking about a finite set of "states". In the real world it often makes code cleaner to use enums to collectively define groups of constant values.
Maybe to keep both you and Charles happy we need an FR for a new kind of constant "collection" in RB - one where we can group such constants together by name and where they behave in the manner I intend. This would have the advantage of being able to be to define groups of string constants as well as ints. Would such an FR placate you ? On 15/3/07 18:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Mar 15, 2007, at 16:15 UTC, Charles Yeomans wrote: > Maybe instead of an enum, you want a set of numeric constants. > > Best, > - Joe > > -- > Joe Strout -- [EMAIL PROTECTED] > Verified Express, LLC "Making the Internet a Better Place" > http://www.verex.com/ > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > Regards, Dan _______________________________________________________ www.13flatFIVE.com The C++ <> REALbasic code migration specialists _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
