• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: enumerated types: best way to fake them?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Scripting iTunes
  • Next by Date: Scripting Additions OS X
  • Previous by thread: Re: enumerated types: best way to fake them?
  • Next by thread: URL Access Scripting Not Launching
  • Index(es):
    • Date
    • Thread