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

RE: [amibroker] The #include re-read work-around ... Stopped working !



PureBytes Links

Trading Reference Links










If #include is not executed with every execution of the AFL
it is not doing what it should do and that is to be executed with the AFL
execution.

 



<font size=3 color=teal
face="Times New Roman">Cheers,
Graham

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia



<span
>-----Original Message-----
From: Bob Jagow
[mailto:bjagow@xxxxxxxxxxx] 
Sent: Saturday, 10 May 2003 1:10
PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] The
#include re-read work-around ... Stopped working !

<font size=2
face="Times New Roman"> 



<font size=2 color=navy
face="Times New Roman">Any possible
reason why the #include
file should be re-read for every execution (invocation) of the program that
contains the #include statement?





<font size=2
face="Times New Roman">I suspect you'd find the
same "bug" in any current language. 





-----Original Message-----
From: Salil V Gangal [mailto:salil_gangal@xxxxxxxxx]
Sent: Friday, May 09, 2003 9:49 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] The
#include re-read work-around ... Stopped working !





<font size=2
color="#ff409f" face="Times New Roman">Dingo,





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">I was developing script
for last 1/2 hour. For every execution I was adding a space in the script
containing #include statement.  I must have executed it 15 to 20 times.
And now looks like AmiBroker is no longer re-reading the #include file, evenif
I am  adding / deleting spaces and adding deleting some trivial strings. I
saved and re-loaded the 'Formula' file a couple of time also.  Looks like
the work-around has stopped working.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Any other work-around
short of exiting AmiBroker and invoking it again ?





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Regards,





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">- <font
color="#4040ff" face="Times New Roman">Salil V Gangal



<font size=2
face="Times New Roman">

Salil V Gangal
<salil_gangal@xxxxxxxxx> wrote: 





<font size=2
color="#ff409f" face="Times New Roman">Dingo,





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Oh ... okay.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Thanks for the
work-around. Just adding a space forced the re-reading.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Regards,





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">- <font
color="#4040ff" face="Times New Roman">Salil V Gangal



<font size=2
face="Times New Roman">

dingo
<dingo@xxxxxxxxxx> wrote: 



<font size=2 color=blue
face=Arial>TJ
reported that it worked the way as you describe. So it is "by
design".  You need to change the formula in the AA window (add a
space) or reload the formula to get it to re-read the Included file.  





<font size=2
face="Times New Roman"> 





<font size=2 color=blue
face=Arial>see msg
37177.





<font size=2
face="Times New Roman"> 





<font size=2 color=blue
face=Arial>d





-----Original Message-----
From: Salil V Gangal
[mailto:salil_gangal@xxxxxxxxx] 
Sent: Friday, May 09, 2003 11:13
PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] The #include
does not get re-read for each execution ?



<font size=2
color="#ff409f" face="Times New Roman">Tomasz,





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">It looks as if
the #include file is not getting re-read from the for every execution
(invocation) of the program that contains the #include statement. 
It looks like a bug.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Create a .AFL file
with text (say)





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">"Hello World!";





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">And include this above
file using #include in (say) the 'Guru Formula' and get the
commentary.  It will contain the string Hello World!





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Now change the disk file <font
face="Times New Roman">without exiting AmiBroker  to
contain the string following string and save
it to disk.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">"Hello World! Hello
World!";





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Flip to 'Guru' Formula
and click 'Apply'  ... the string that's show in the commentary still is a
single Hello World! rather than double Hello World!





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Regards,





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">- <font
color="#4040ff" face="Times New Roman">Salil V Gangal



<font
size=2 face="Times New Roman">





<font size=2
face="Times New Roman">Do you Yahoo!?
The New
Yahoo! Search - Faster. Easier. Bingo. 

Send BUG REPORTS to
bugs@xxxxxxxxxxxxx
Send 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


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.




<font size=2
face="Times New Roman">

Send BUG REPORTS to
bugs@xxxxxxxxxxxxx
Send 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


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.




<font
size=2 face="Times New Roman">





<font size=2
face="Times New Roman">Do you Yahoo!?
The New
Yahoo! Search - Faster. Easier. Bingo. 

Send BUG REPORTS to
bugs@xxxxxxxxxxxxx
Send 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


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.




<font
size=2 face="Times New Roman">





<font size=2
face="Times New Roman">Do you Yahoo!?
The New
Yahoo! Search - Faster. Easier. Bingo. 

Send BUG REPORTS to
bugs@xxxxxxxxxxxxx
Send 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


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.




<font size=2
face="Times New Roman">



Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<span
>
Send 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


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.











Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.