|
You are confusing #include with functions in other programs.
All an include does is COPY the lines of code from the include file and INSERTS them into your code IN PLACE OF the #include line.
It is EXACTLY THE SAME as if you just typed those lines in your code.
Amibroker does have function calls. In the second example I gave, the include was coded as a function call. Thus this include WOULD have to be place near the top of your code since the function must be "seen" before it is "called". Any, yes, this function will never do anything unless and until you call it. However, the first version as noted above is just inline code and it gets executed as if you had typed in there in the first place. -- Terry -----Original Message-----
Terry thanks. Some remarks and questions about the use of includes.
1. When entering an include in the code it does not mean that you are calling the function. The link for the external function when running the code is available. That's all. Therefore I still do not understand why it should not be called in your code.
2. In most languages I know, you must place the includes as the first line in the code. You have placed the include as the last line. Can I place includes in AFL where ever I want to place them ?
Ton.
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
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [amibroker] Candlestick pattern scan Terry
- Re: [amibroker] Candlestick pattern scan Ton Sieverding
- Re: [amibroker] Candlestick pattern scan Infinity Home Loans
- RE: [amibroker] Candlestick pattern scan Terry
- Re: [amibroker] Candlestick pattern s... Ton Sieverding
- Re: [amibroker] Candlestick pattern scan Ton Sieverding
- Re: [amibroker] Candlestick pattern s... Infinity Home Loans
- Re: [amibroker] Candlestick patt... Yuki Taga
- Re: [amibroker] Candlestick patt... Steve Kuball
