How to add a new item into the end of an existing line?

Keith Clarke keith.clarke at me.com
Wed Mar 18 04:33:04 EDT 2015


The good news is that the SSD issue didn’t cause my stack to crash the IDE - and my thanks to Richard Gaskin who commented on the bug and provided me with a simple button script recipe to empty the fields containing data that was triggering the crash. 

The IDE shouldn’t have been bothered by what was happening, but the RunRev team now has a bug with recipe for repeating it.

Meanwhile, I can get back to implementing all the suggestions on correct syntax to append data to existing lines in a container! :-)
Best,
Keith..
 
> On 17 Mar 2015, at 17:55, Keith Clarke <keith.clarke at me.com> wrote:
> 
> I can’t be sure whether the SSD issue contributed to the stack crashing the IDE but I’ve created this bug report and attached the file. http://quality.runrev.com/show_bug.cgi?id=14984
> 
> Meanwhile, I can access the stack in developer mode, so can migrate the resources to a new stack and do a bit of refactoring as I go.
> Best,
> Keith..
> 
>> On 17 Mar 2015, at 15:02, Mike Bonner <bonnmike at gmail.com> wrote:
>> 
>> Hope a flaky ssd hasn't munged your stack.  That would be awful!
>> 
>> On Tue, Mar 17, 2015 at 3:15 AM, Keith Clarke <keith.clarke at me.com> wrote:
>> 
>>> Folks,
>>> Thanks to Mike, Michael, Jerry & Peter for all the useful feedback.
>>> 
>>> I’m keen to try some of these ideas but unfortunately my project file has
>>> now become unstable in ‘run’ mode when I try to access the card containing
>>> the key scripted bits! :-(
>>> 
>>> (And of course, this issue has also identified problems with my Time
>>> Machine backup setup, as I can’t enter Time Machine due inconsistencies
>>> with my MacBook Air’s SSD.)
>>> 
>>> I’ve emailed the project to support at livecode.com and I’m hoping they can
>>> identify what has gone awry and recover the project.
>>> 
>>> Ho hum - such is life.
>>> Best,
>>> Keith..
>>> 
>>>> On 16 Mar 2015, at 22:53, Mike Bonner <bonnmike at gmail.com> wrote:
>>>> 
>>>> 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 <mikedoub at 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 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
>>>>> 
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> 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