Re: interesting discovery (trying to get record labels as strings)
Re: interesting discovery (trying to get record labels as strings)
- Subject: Re: interesting discovery (trying to get record labels as strings)
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 03 Dec 2001 14:03:01 -0800
On 12/3/01 1:14 PM, "Victor Yee" <email@hidden> wrote:
>
On Sun, 2 Dec 2001 22:54:37 -0800, Neal A. Crocker wrote,
>
>
> {{+class usrf;:{"hello", "goodbye"}}} as string as record
>
> -- returns: {hello:"goodbye"}
>
>
So simple! (Why must I always do things the hard way?)
>
>
Is there a way to coerce the string "hello" into a call to the record? (i.e.
>
hello of {hello:"goodbye"})
set myRec to {{+class usrf;:{"hello", "goodbye"}}} as string as record
hello of myRec
-- "goodbye"
or
hello of ({{+class usrf;:{"hello", "goodbye"}}} as string as record)
-- "goodbye"
It's great.
--
Paul Berkowitz