Yes, that is LiveCode 'unquoted literal' mechanism - It is the same as, for example, (if you have strict compilation off)
*put* tTest & "sdfsdf" -- puts tTestsdfsdf into the message box When a variable has not been declared, any tokens that are not keywords are treated as strings. On 5 June 2015 at 10:26, Terence Heaford <t.heaf...@icloud.com> wrote: > Interestingly it works without quotes around test. > > It does work but should it? > > This suggests the only reason for quotes in array keys is in case you have > a two word key? > > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[test]]] > [[tSortOrder]]") into tSQL > > > All the best > > Terry > > > On 5 Jun 2015, at 10:13, Ali Lloyd <a...@runrev.com> wrote: > > > > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]] > > [[tSortOrder]]") into tSQL > > > > doesn't work is the double quote around "test". Merge should work fine > > with arrays (I should know because bug 11274 was one of the first I ever > > fixed!) > > > > You can either use & and quote to build the correct string > > _______________________________________________ > 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 > _______________________________________________ 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