A few strange behaviors accessing DBs

Pete pete at mollysrevenge.com
Thu Jan 26 15:44:21 EST 2012


Normally yes, but the that function requires you to enclose the whole
variable name in quotes.

On Thu, Jan 26, 2012 at 11:12 AM, Bob Sneidar <bobs at twft.com> wrote:

> Shouldn't you quote the non-numeric keys? myArray[1]["id"]
>
> Bob
>
>
> On Jan 26, 2012, at 10:01 AM, Pete wrote:
>
> > Assuming myArray exists and I specify
> > "myArray[1][id]" as the destination for the returned data, what ends up
> in
> > myArray is a key of "1][id" with the returned value.  Arrays with a
> single
> > level of keys work fine.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list