PureBytes Links
Trading Reference Links
|
Dave,
The procedure you describe is NOT required to guarantee
re-load.
single
#pragma nocache
at the top works always. Period.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Dave Merrill
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, January 06, 2004 4:42
AM
Subject: RE: [amibroker] Re: Semi-Off
Topic: InfoSelect Msg Import
The
hands-down most reliable way to force a reload of an included file is to
temporarily change the name or path to it so it won't be found. Update your
indicator or rerun your AA code, dismiss the error msg that appears, then put
the include path back to normal and run again. I'm not trying to criticize AB,
but this is the only way I've found to really guarantee the reload. It has the
added benefit of having no effect at all on anything unless you force it this
way; there's no additional overhead of any kind otherwise.
<SPAN
class=776253503-06012004>
<SPAN
class=776253503-06012004>Dave
<BLOCKQUOTE
>
<SPAN
class=156480500-06012004>You only need
it if you change the contents of the included file and
want to run the formula in the AA window that has the include
statement without either changing it or reloading it. When you use the
nocache it tells AB to read the included file from disk each time - thereby
insuring that any changes will be "included".
<FONT face=Arial color=#0000ff
size=2>
If
you're not doing that then you don't need to use <FONT face="Courier New"
color=#000000 size=3>#pragma nocache
in your formula.
<FONT face=Arial color=#0000ff
size=2>d Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">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 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 the Yahoo! Terms of Service.
|