How to add a new item into the end of an existing line?
Keith Clarke
keith.clarke at me.com
Mon Mar 16 14:53:35 EDT 2015
…thanks for the response, Peter.
Weirdly, using this form…
put comma & tInsert after line tRecord of tRecords
... Compiles OK but then fails on run with (Chunk: error in range start expression)
Maybe I’ll try building into a new variable line by line, instead of appending to lines in the existing container.
Best,
Keith..
> On 16 Mar 2015, at 17:52, Peter Haworth <pete at lcsql.com> wrote:
>
> Maybe "put the itemdelimiter & foo after line B of C"
>
> On Mon, Mar 16, 2015 at 10:46 AM Keith Clarke <keith.clarke at me.com> 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list