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 solution (re_copy) that I found in direct-l list that was suggested by Martin Pallett. And see if that helps, if there is very little discernable performance increase, it will at least significantly reduce code, as I will use it in several places,

as was mentioned before, reducing the code can also easily be done by defining a function and calling it from the different places of your scripts.


after all, that's how programming works in general. a built in function or the pregex equivalent may also concatenate the lists in an repeat loop...

---------------------------

  |||
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!]

Reply via email to