[Mod Note: Split from here: "Non-function" error
Please don't resurrect old threads. Instead, create a new one and put in a link to the old.]
Not to bring up dead threads, but could you post code? I can't get the code to work, even when I moved the #define to be under the function.