08-03-2012, 06:55 AM
slenkar Wrote:thanks :oops:I think the 2nd is faster. Anyway, just use DIM within the function and your code is OK! ;-)
By the way do you think it will be quicker to:
1. take away 1 from a number,
or
2. get a global variable?
so i can loop through an array with FOR
(outside the function you will be using the constant).