Re: enumerated types: best way to fake them?
Re: enumerated types: best way to fake them?
- Subject: Re: enumerated types: best way to fake them?
- From: Andy Wylie <email@hidden>
- Date: Sun, 03 Nov 2002 08:50:20 +1300
on Fri, 1 Nov 2002 15:34:23 -0500 Michael Sullivan wrote:
>
Has anyone come up with a better idea for this sort of thing? Or do you
>
just use integer flags or strings. What I'm really hoping is that
>
someone will tell me that there *is* enumerated type support in AS (even
>
C style would be okay), and I just didn't know where to look to find the
>
syntax.
>
>
Anyone got any comments at all on the subject?
have you considered a constructor function parsing a 'pref' string...
"apple=Not bad but a bit mealy
banana=
http://www.algobeautytreb.com/
orange=Ah! Refreshing!"
list offset or paragraph enumeration? RegEx?
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.