I don't think that you can do it using a #define but try an inline function instead. Graeme
View entire thread