I did try this using PreProcessFile on a function in my mission editor directory:
#Define MyMacro "Hello";
Hint Format ["This Macro %1",MyMacro];
But it seems to invalidate the function, you can call it without any errors. It just wont execute the hint until I remove the #Define line.
Am I using it correctly?
Edit:
Scratch that, #define is case sensitive and you dont need a semicolon. This works without any problems:
#define MyMacro Count [1,2,3]
Hint Format ["This Macro %1",MyMacro];
Cheers
P.S I read in an earlier thread about Loadfile and Addons, that functions in an Addon are already processed. Is this correct, I did not think the PBO utils were that sophisticated?