Hi Ger and Terry
OK, so that was a cryptic shorthand method of suggesting what should be in the macro? OK, understood. Been there and done that already.
Yes, I know Mach does not support the IF statement - at least not officially. But since Mach does support some non-linear mathematical functions, you CAN create code which implements the IF concept. Been there and done that too.
Cheers and thanks
Roger