Re: Records
Re: Records
- Subject: Re: Records
- From: Bryan <email@hidden>
- Date: Wed, 28 Feb 2001 10:23:54 -0500
- Organization: Apex Radiology
set theList to {"a", 1, "b", 2, "c", 3}
set theRecord to theList as user record
return theRecord
--> {a:1, b:2, c:3}
Bryan Kaufman
Simon Forster wrote:
>
> I'm writing an AppleScript CGI and I thought that it'd be neat to use a record
>
> to store name value pairs as I haven't used a record in anger before.
>
>
And now I realise why I haven't used records before - you can only reference
>
named properties.
>
>
None-the-less, I'd like to know if it's possible to convert a list to a
>
record just out of curiosity.
>
>
ATB
>
>
Simon Forster
>
________________________________________________
>
LDML Ltd, 28 Montgomery Road, London, W4 5LZ, UK
>
<tel int="+44 20 8995 5694" uk="020 8995 5694">
>
<fax int="+44 20 8995 6013" uk="020 8995 6013">
>
<mailto:email@hidden>
>
________________________________________________
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
- Follow-Ups:
- Re: Records
- From: "Serge Belleudy-d'Espinose" <email@hidden>
References: | |
| >Re: Records (From: Simon Forster <email@hidden>) |