[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Conditional #include



PureBytes Links

Trading Reference Links

Hi,

I am trying to create a ParamToggle group that would include different
files. The result is that the files get included even though they are inside
if statements. I guess the answer is to create functions and call them from
the ParamToggle?

 

OptionT = ParamToggle("Options?", "No|Yes" ,0);

if(OptionT==True) #include <Options.afl>;

 

Thanks in advance for any comments,

Jerry