Re: Coerce string to record or something like that?
Re: Coerce string to record or something like that?
- Subject: Re: Coerce string to record or something like that?
- From: Michael <email@hidden>
- Date: Wed, 12 Dec 2001 21:17:52 -0800
On 12/12/01 8:58 PM, "Michael" <email@hidden> wrote:
>
On 12/12/01 1:16 PM, "JJ" <email@hidden> wrote:
>
>
> set entry_1 to record {+class usrf;:{"status", "unproc"}}
>
> set entry_2 to record {+class usrf;:{"lyrics", false}}
>
>
>
> set Entire_Record to entry_1 & entry_2
>
>
This doesn't work on my system. If I paste that into Script Editor and try
>
to compile, I get the error: "Expected ',' or '}' but found identifier."
>
>
Running AS 1.6.
>
OK, don't mind that. I see from other recent messages which relate to this
"usrf" that I'm supposed to substitute double guillemets for the + and ;.
Now it works, at least in the Script Editor. Doesn't run from Smile though,
for some reason.