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 collapse them in the script editor at last... :-)
Hahaha - I am also a big fan of repeat loops :) I couldn't code w/o them :)
but it sure would be nice if there was an appendElements function for lists & proplists.
listA = [2,4,6] listB = [1,3,5] listA.appendElements(listB) put listA -- [2,4,6,1,3,5]
I guess it's not a built-in Lingo function because it seems like an easy user-defined function.
on appendElements, listA, listB c = listB.count repeat with i = 1 to c listA.append(listB[i]) end repeat return listA end
hth -Buzz
---------------------------
||| a�ex
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
