• 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: Records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Records


  • Subject: Re: Records
  • From: Olof <email@hidden>
  • Date: Wed, 28 Feb 2001 10:24:54 -0800

Here's the easiest way to do it using only the standard additions:

__begin script__

to usrf(theList)
set n to {+class usrf;:theList}
run script "
to run (arg)
arg as record
end run " with parameters n
end usrf

usrf({"a", 1, "b", 2})

__ end script__


As the mailing list will undoubtedly choke on the chevrons, the second line
of the script is

set n to {<right-chevron>class usrf<left-chevron>:theList}

where

<right-chevron> is option backslash
<left-chevron> is shift option backslash

- Olof


  • Follow-Ups:
    • Re: Records
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Handler joy
  • Next by Date: Re: Handler joy
  • Previous by thread: Re: Records
  • Next by thread: Re: Records
  • Index(es):
    • Date
    • Thread