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

[amibroker] Re: if else and include



PureBytes Links

Trading Reference Links

Include them both or combione them into a single include and then call 
a function in one or the other depending on choice.

--- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset" 
<s.carrasset@xxxx> wrote:
> Hello, have you a tip to switch between differents #include ???
> for ex below
> 
> Choice=Param("include",0,0,10,1);
> #pragma nocache
> if(Choice==1)
> #include "D:\Program Files\AmiBroker\Formulas\Custom\Rem_Long 
afl.afl" ;
> else
> #include "D:\Program Files\AmiBroker\Formulas\Custom\Rem_Long 
> afl_Var.afl" ;
> 
> Stephane




------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/