Ah hah! Yep, it seems that the Size Parameters are evaluated using VBScript, which explains why N Mod 0.5 doesn't work, as Mod in VBScript rounds fractions to integers before evaluating ( http://msdn.microsoft.com/en-us/libr...dt(VS.85).aspx ).

Thanks David.