Using #include <> in SetCustomBacktestProc

I have no problem in using the SetCustomBacktestProc by calling an external afl:

SetCustomBacktestProc( "C:\\AFL\\obFn.afl" );

I am also referring to some external afl file in my code, by using the function #include <>:

#include <common.afl>

I also want to enjoy using the standard include path in SetCustomBacktestProc, instead of writing the full c drive path.

Can I have something like

SetCustomBacktestProc( #include<obFn39bb.afl> );

Thanks!

#include is pre-processor command and as such can not be used inside functions calls.

You can use relative paths instead

SetCustomBacktestProc("Formulas\\CBT.afl");