you can even: put "whatever" into item (the number of items in c + 1) of c (and you can of course specify a line too) that way it'll pop the comma in there for you too. But like everyone else I actually find it easier to just insert the comma and data.
On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub <miked...@gmail.com> wrote: > put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after > tData > set itemdel to comma > put the itemdel & 10 after item -1 of line 1 of tData > > > > On 3/16/15 1:45 PM, Keith Clarke wrote: > >> Folks, >> Please can anyone clarify the syntax needed to add a new item A to the >> end of an existing line B of an existing variable C? >> >> I can add to the end of the variable OK, as in >> >> put foo after C >> >> but if I try to put foo after B, after line B or after item -1 of line B, >> after Z (defined as item -1 of B) etc., and I get either no result or >> compilation errors. >> >> I’m clearly missing the magic words. >> >> Thanks in advance >> Keith.. >> >> >> >> >> >> _______________________________________________ >> 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 > _______________________________________________ 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