Help with an algorithm...

dunbarxx dunbarx at
Mon Aug 5 13:49:20 EDT 2019

I really do not like the use-list. It is difficult to format one's answers.

Here is a handler that places a few pieces of data into two variables. These
would be the two isolated lists of children derived from the parents as
described earlier. There is one difference between the two lists, the child

on mouseUp
   put "aaa" & return & "bbb" & return & "ccc" into tNew
   put "aaa" & return & "xxx" & return & "ccc" into tOld
   put tOld & return & tnew into tAll
   repeat with y = 1 to the number of lines of tAll
      put line y of tAll into myArray[ line y of tAll]
   end repeat
end mouseUp

Straightforward array stuff. The final list has four children, "xxx" being
added to the mix, as can be seen in the debugger at the breakpoint.


Sent from:

More information about the Use-livecode mailing list