Hi Mat,
Hows things, not seen you about for ages?
You could use a if loop, create a variable that contains the start number, then set it for the end and what you need
$varible = whatever it is ;
if ($variable < final number)
{
Do something ;
$variable += increment number ;
}
with the above I think I may have mixed up between MEL and C# at some points! But the theory should work
"No pressure, no diamonds" Thomas Carlyle