Re: Re: list (form data) to Record
Re: Re: list (form data) to Record
- Subject: Re: Re: list (form data) to Record
- From: email@hidden
- Date: Thu, 1 Mar 2001 10:47:27 EST
In a message dated 3/1/01 6:37:17 AM, Simon Forster wrote:
>
> From: Daniel Shockley <email@hidden>
>
>
> However, I tried it as follows and got a disappointing result - I'm not
sure
>
> why:
>
...
>
> listToRecord({"firstName", "Dan", "lastName", "Shockley"})
>
> -- returns {|firstName|:"Dan", |lastName|:"Shockley"}
>
>
It would appear that you have to use all lowercase letters for property
>
names - at least using Olof's method.
>
>
firstname
>
first_name
>
>
are OK
>
>
firstName
>
fiRstname
>
FIRSTNAME
>
>
are not.
>
>
Is this an intrinsic limitation to property names? I'll check it later.
Simon is right. Darned shame really. That's probably a deal killer for what I
want to use it for. Oh well.
Jeff Baumann
email@hidden
www.linkedresources.com
15 Days, 12 Hours, 51 Minutes
How is it going to end?