Jump to content
Sign in to follow this  
raymix

preprocessing a string not file

Recommended Posts

I wonder what are the chances of getting processor feature for strings instead of files only?

Lets call it "preprocess":

_var = compileFinal preprocess ("#include <\path\defines.inc>" + loadFile _path);
uiNamespace setVariable [_x,_var];

Would be damn cool to keep script files a bit cleaner and allowing to use macros globally without visual reference where #defines are kept :)

Thoughts?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×