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

[amibroker] Re: #include - help please.



PureBytes Links

Trading Reference Links

Hi Chuck,

Yes I already tried cut and pasting into the main afl and it works 
fine. Apparently nesting #include isn't supported.

...I just found it in the Help, definately not supported.

Thanks Glenn

--- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher" 
<chuck_rademacher@x> wrote:
> Glenn,
> 
> I suspect that there is something wrong with your CommonCode, but 
you have
> probably been using it with no problems.   Try pasting the 
functions into
> your main afl until you get them working properly and then create 
include
> files for them.
> 
> To answer your question, there is no problem with multiple include
> statements.
>   -----Original Message-----
>   From: Glenn [mailto:glennokb@x...]
>   Sent: Tuesday, December 30, 2003 5:39 PM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] #include - help please.
> 
> 
> 
>   Hi, is it possible to have multiple #include ie:
> 
>   #include "C:\Program Files\AmiBroker\AFL\index filter.afl"
>   is in my "Common Code" indicator.
> 
>   then...
> 
>   #include "C:\Program Files\AmiBroker\AFL\CommonCode.afl"
>   in my "Charting" indicator.
> 
>   I am getting the folowing error in my "Charting" indicator:
> 
>   #
>   ^
> 
>   Error 23.
>   Syntax error
> 
>   Cheers Glenn
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>   --------------------------------------------
>   Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
--------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/