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

Re: [amibroker] Include directive



PureBytes Links

Trading Reference Links

1. Yes you can use any extension
2. You should specify the full path or relative path. Relative path is fromAmiBroker directory ( where broker.exe is located)
3. & 4. As written in the manual nesting #includes is not supported. 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: Udo.Harke@xxxx 
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Saturday, October 26, 2002 11:47 AM
Subject: [amibroker] Include directive


Hi all,

because I would like to use some very special features of the #include directive, therefore, I would like to ask you a few questions about its application procedure:

1. Can I use any extension of up to three letters such as .h or .ghz for a file to be included with the directive #include?

2. Is it always necessary to specify the path such as

#include "C:\MyFolder\MyAFL Source Code\macd.new"

or does the pre-processor look into a default directory, which is common practice with Visual C++, for example?

3. Suppose A, B1, B2, and C are AFL source-code files. File A should be included into B1, B2, and also into C. In addition, the files B1 and B2 should be included into C. Is that possible?

4. Now, let's assume A, B, and C are AFL source-code files. The file A should be included into B and also B ought to be included into C. Is that possible as well?

Thank you very much for answering my questions and assisting me in this matter!

Best Regards,

Udo


Yahoo! Groups Sponsor 
ADVERTISEMENT
             
       
       

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. 


------=_NextPart_001_00D4_01C27D34.9FF685A0
Content-Type: text/html;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=ridTitle>Schlicht</TITLE><BASE 
href="file://C:\Programme\Gemeinsame Dateien\Microsoft Shared\Stationery\">
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY id=ridBody bgColor=#ffffff 
background=cid:00d201c27d23$dc5cecc0$0100a8c0@x...>
<DIV><FONT face="Arial CE">Udo,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE">1. Yes you can use any extension</FONT></DIV>
<DIV>2. You should specify the full&nbsp;path or relative path. Relative path is 
from&nbsp;AmiBroker directory ( where broker.exe is located)</DIV>
<DIV>3. &amp;&nbsp;4. As written in the manual nesting&nbsp;#includes is not 
supported.&nbsp;</DIV>
<DIV><BR>Best regards,<BR>Tomasz Janeczko<BR>amibroker.com</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV 
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
<A title=Udo.Harke@xxxx 
href="mailto:Udo.Harke@xxxx";>Udo.Harke@xxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx 
href="mailto:amibroker@xxxxxxxxxxxxxxx";>amibroker@xxxxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, October 26, 2002 11:47 
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] Include 
directive</DIV>
<DIV><BR></DIV>
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>because I would like to use some very special features of the <FONT 
color=#ff00ff>#include</FONT> directive, therefore, I would like to askyou a 
few questions about its application procedure:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. Can I use <U>any</U> extension of <U>up to three letters</U> suchas 
<FONT color=#008000><STRONG>.h</STRONG></FONT> or <FONT 
color=#008000><STRONG>.ghz</STRONG></FONT> for a file to be <U>included</U> 
with the directive #include?</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. Is it always <U>necessary</U> to specify the path such as</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <FONT color=#ff00ff>#include</FONT> 
<FONT color=#0000ff>"C:\MyFolder\MyAFL Source Code\<FONT 
color=#008000>macd.new</FONT>"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>or does the pre-processor <U>look into a default directory</U>, which is 
common practice with Visual C++, for example?</DIV>
<DIV>&nbsp;</DIV>
<DIV>3. Suppose <FONT color=#0000ff><STRONG>A</STRONG></FONT>, <STRONG><FONT 
color=#0000ff>B1</FONT></STRONG>, <FONT 
color=#0000ff><STRONG>B2</STRONG></FONT>, and <FONT 
color=#0000ff><STRONG>C</STRONG></FONT> are AFL source-code files. File 
<STRONG><FONT color=#0000ff>A</FONT></STRONG> should be <U>included</U>into 
<STRONG><FONT color=#0000ff>B1</FONT></STRONG>, <FONT 
color=#0000ff><STRONG>B2</STRONG></FONT>, and also into <STRONG><FONT 
color=#0000ff>C</FONT></STRONG>. In addition, the files <FONT 
color=#008000><STRONG>B1</STRONG></FONT> and <FONT 
color=#008000><STRONG>B2</STRONG></FONT> should be <U>included</U> into 
<STRONG><FONT color=#008000>C</FONT></STRONG>. Is that possible?</DIV>
<DIV>&nbsp;</DIV>
<DIV>4. Now, let's assume <STRONG><FONT color=#0000ff>A</FONT></STRONG>, 
<STRONG><FONT color=#0000ff>B</FONT></STRONG>, and <FONT 
color=#0000ff><STRONG>C</STRONG></FONT> are AFL source-code files. The file 
<STRONG><FONT color=#0000ff>A</FONT></STRONG> should be <U>included</U>into 
<STRONG><FONT color=#0000ff>B</FONT></STRONG> and also <STRONG><FONT 
color=#008000>B</FONT></STRONG> ought to be <U>included</U> into <STRONG><FONT 
color=#008000>C</FONT></STRONG>. Is that possible as well?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much for answering my questions and assisting me in this 
matter!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Udo</DIV>
<DIV>&nbsp;</DIV></DIV><BR><BR><TT>Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx <BR>(Web page: <A 
href="http://groups.yahoo.com/group/amiquote/messages/)">http://groups.yahoo.com/group/amiquote/messages/)</A><BR><BR>Check 
group FAQ at: <A 
href="http://groups.yahoo.com/group/amibroker/files/groupfaq.html";>http://groups.yahoo.com/group/amibroker/files/groupfaq.html</A></TT> 
<BR><BR><TT>Your use of Yahoo! Groups is subject to the <A 
href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service</A>.</TT> 
<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_001_00D4_01C27D34.9FF685A0--

Attachment: Description: ""