RE: lingo-l joining lists in lingo

2005-04-12 Thread Tim Welford
] [mailto:[EMAIL PROTECTED] On Behalf Of Alex da Franca Sent: 11 April 2005 23:12 To: Lingo programming discussion list Subject: Re: lingo-l joining lists in lingo Am 11.04.2005 um 23:42 schrieb Buzz Kettles: I was going to mention this aspect too, but figured the performance difference

Re: lingo-l joining lists in lingo

2005-04-12 Thread Alex da Franca
Am 12.04.2005 um 10:16 schrieb Tim Welford: I don't particularly dislike repeat loops, I was just wondering if there was a more efficient way. let me rephrase it in another way: what leads you to the assumption, that a repeat loop is inefficient ? I think I am going to investigate the pRegEx

Re: lingo-l joining lists in lingo

2005-04-11 Thread Ozkan ALTUNER
Hello Tim, You can do it by appending list two to list one, by using a loop and getAt(), getPropAt(), addProp() and addAt() methods. repeat with i = 1 to list2.count() addProp(list1, getAt(list2, i) end repeat i'm not exatcly sure of the syntax, however, it clearly should give you an idea.

RE: lingo-l joining lists in lingo

2005-04-11 Thread Tim Welford
Of Ozkan ALTUNER Sent: 11 April 2005 13:15 To: Lingo programming discussion list Subject: Re: lingo-l joining lists in lingo Hello Tim, You can do it by appending list two to list one, by using a loop and getAt(), getPropAt(), addProp() and addAt() methods. repeat with i = 1 to list2.count

RE: lingo-l joining lists in lingo

2005-04-11 Thread Martin Pallett
April 2005 13:15 To: Lingo programming discussion list Subject: Re: lingo-l joining lists in lingo Hello Tim, You can do it by appending list two to list one, by using a loop and getAt(), getPropAt(), addProp() and addAt() methods. repeat with i = 1 to list2.count() addProp(list1, getAt(list2, i

Re: lingo-l joining lists in lingo

2005-04-11 Thread Valentin Schmidt
programming discussion list Subject: Re: lingo-l joining lists in lingo Hello Tim, You can do it by appending list two to list one, by using a loop and getAt(), getPropAt(), addProp() and addAt() methods. repeat with i = 1 to list2.count() addProp(list1, getAt(list2, i) end repeat i'm

RE: lingo-l joining lists in lingo

2005-04-11 Thread Dam
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ozkan ALTUNER Sent: 11 April 2005 13:15 To: Lingo programming discussion list Subject: Re: lingo-l joining lists in lingo Hello Tim, You can do it by appending list two to list one, by using a loop and getAt(), getPropAt(), addProp

Re: lingo-l joining lists in lingo

2005-04-11 Thread Roger Jones
On Apr 11, 2005, at 8:54 AM, Buzz Kettles wrote: While the below looks good, doing the 2 list-to-string conversions make that approach much slower than repeat-and-append. hth -Buzz Also it would fail with large lists. String to list fails if the list has more than 32768 entries. rj [To remove

Re: lingo-l joining lists in lingo

2005-04-11 Thread Buzz Kettles
rid of the repeat loop and hence improve the efficiency of the code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ozkan ALTUNER Sent: 11 April 2005 13:15 To: Lingo programming discussion list Subject: Re: lingo-l joining lists

Re: lingo-l joining lists in lingo

2005-04-11 Thread Alex da Franca
Am 11.04.2005 um 23:42 schrieb Buzz Kettles: I was going to mention this aspect too, but figured the performance difference was enough of a good enough reason. after all I don't quite understand, what is so bad about the little repeat loop. I for one like repeat loops... ;-) if only I could

Re: lingo-l joining lists in lingo

2005-04-11 Thread Buzz Kettles
At 12:11 AM +0200 4/12/05, you wrote: Am 11.04.2005 um 23:42 schrieb Buzz Kettles: I was going to mention this aspect too, but figured the performance difference was enough of a good enough reason. after all I don't quite understand, what is so bad about the little repeat loop. I for one like