Can you embed a compiler variable into a #include?
e.g.
#set compiler variable [SCRIPTDIR] = D:\SB5_Projects
#include script "[SCRIPTDIR]\Test.sbi"
The compiler is throwing an error because [SCRIPTDIR] does not get expanded.
Can you embed a compiler variable into a #include?
e.g.
#set compiler variable [SCRIPTDIR] = D:\SB5_Projects
#include script "[SCRIPTDIR]\Test.sbi"
The compiler is throwing an error because [SCRIPTDIR] does not get expanded.
Hello,
Thank you for your message.
Unfortunately, this is not possible because compiler variables are resolved at compile time. The IDE displays all included script in the script editor and the compiler variable cannot be resolved.
See: http://www.lindersoft.com/forums/sho...=4404#poststop
Thanks,
There are currently 1 users browsing this thread. (0 members and 1 guests)