I've run into other circumstances where using parens makes an expression yield the correct results. I can't think of them off the top of my head but the resukt has been that I probably use an overabundance of parens in my code so I don't have to worry about things working correctly. That's how I stumled on the solution to this - just force of habit.
Actually, as a bonus, I think parens often make the code more readable too. Pete lcSQL Software <http://www.lcsql.com> On Sun, Mar 3, 2013 at 4:18 PM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 3/3/13 6:25 PM, dunb...@aol.com wrote: > > I am a big fan of forced evaluation. >> >> So why doesn't: >> >> >> do "get the keys of the testArray of me" >> >> or >> >> do "get the keys of" && the testArray of me >> >> work? >> > > It works if you add the parentheses: > > do "get the keys of (the testArray of me)" > > But it's weird. The reason I wrote to the list is because this didn't work > either: > > put keys(the cArray of me) > > which does have the parens. So it never occured to me to use: > > the keys of (the cArray of me) > > even though in my mind, that's identical. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode