>I also did some other tests and found that foreach() is ~20% faster than >the equivalent while loop, while foreachi() was ~20% slower than a while >loop. You should compare this also with the "for" statement. --lhf