PureBytes Links
Trading Reference Links
|
Hello,
It is perfectly OK to #include the same file from many AFL formulas.
As to why you are getting an error - it is indeed strange, do you use
#pragma nocache
statement as well?
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Charles Stangor" <cstangor232@xxxxxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, November 14, 2005 1:41 PM
Subject: Re: [amibroker] Error 42
> I'm not sure what's happening. I've used this procedure for a long time,
> and suddenly it's stopped working. I only have 1 instance of AB open.
> However, more than one AFL is trying to read the same #include file.
>
> for instance:
>
> Routine 1.AFL and Routine2.AFL both include the file Getinformation.AFL
>
> I thought that these #include files were read when the calling AFL was
> opened. Why would I get an error after a few minutes of running?
>
> Thanks
> ----- Original Message -----
> From: "Graham" <kavemanperth@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, November 13, 2005 9:05 PM
> Subject: Re: [amibroker] Error 42
>
>
>>I think they could be disrupting each other as this is what TJ
>> suggested that the file is curently open by another program (this
>> would include a second instance of AB)
>> Have you tried Include once?
>>
>> On 11/14/05, Charles Stangor <cstangor232@xxxxxxxxxxxxxxxxxx> wrote:
>>> Hmm.. That does not seem to be it. Is it OK to read the same #include
>>> file
>>> from two different AFL programs (maybe both asking for the to-be-included
>>> file at the same time?)
>>>
>>>
>>> ----- Original Message -----
>>> From: "Tomasz Janeczko" <amibroker@xxxxxx>
>>> To: <amibroker@xxxxxxxxxxxxxxx>
>>> Sent: Sunday, November 13, 2005 7:42 PM
>>> Subject: Re: [amibroker] Error 42
>>>
>>>
>>> > The other reason is that you may have locked that file exclusively by
>>> > using
>>> > some other application (external editor?)
>>> >
>>> > Best regards,
>>> > Tomasz Janeczko
>>> > amibroker.com
>>> > ----- Original Message -----
>>> > From: "Charles Stangor" <cstangor232@xxxxxxxxxxxxxxxxxx>
>>> > To: <amibroker@xxxxxxxxxxxxxxx>
>>> > Sent: Monday, November 14, 2005 12:28 AM
>>> > Subject: [amibroker] Error 42
>>> >
>>> >
>>> >>I intermittently (every few minutes) get the following error:
>>> >>
>>> >> Error 42: #include failed because the file does not exist.
>>> >>
>>> >> But the include file does exist.
>>> >>
>>> >> If I exit AB and reenter everything works OK for awhile, and then I
>>> >> get
>>> >> the
>>> >> error again.
>>> >>
>>> >> Any thoughts?
>>> >>
>>> >> Thanks
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> 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
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > 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
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>>
>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Cheers
>> Graham
>> AB-Write >< Professional AFL Writing Service
>> Yes, I write AFL code to your requirements
>> http://e-wire.net.au/~eb_kavan/ab_write.htm
>>
>>
>>
>> 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
>>
>>
>>
>>
>>
>>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/
|