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

RE: [amibroker] #include



PureBytes Links

Trading Reference Links



#include (AFL 2.2) - preprocessor include 
command 



SYNTAX 
#include "full_path_to\file.afl"

RETURNS
nothing

FUNCTION 

Includes external AFL files into your formula.
Note 1: include statement need SINGLE backslashes in the path (this is 
quite the opposite to normal AFL stingparsing)Note 2: using 
#include command may slow down formula execution evenconsidering the 
fact that AmiBroker tries to include only once and cache pre-processed 
textNote 3: that currently no error message is given if #include fails 
and this codeis experimental.Note 4: nesting #include commands is 
not supported
 

EXAMPLE

#include "C:\Program 
Files\AmiBroker\AFL\common.afl"
 
Jayson 

<FONT face=Tahoma 
size=2>-----Original Message-----From: akaloustian 
[mailto:ara1@xxxx]Sent: Monday, October 21, 2002 1:21 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
#includeAbout a month ago (or so) there was mention of 
an #include command to import files into AFL code. I can't findany 
reference to it either in help or read me file...Anyone has a refernce 
to it?AraPost 
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.