PureBytes Links
Trading Reference Links
|
Hi,
Here is what is written in AFL scripting host documentation:
"Currently the only way to exchange the information between "normal" AFL
part and script part is to use variables."
Calling functions accross AFL - script boundary is not supported yet.
Note 2: Even if it will be supported in the future you will need to define the function
BEFORE using it since AFL parses the formula only once from top to bottom.
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com
----- Original Message -----
From: <bbouree@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, May 23, 2001 9:49 PM
Subject: [amibroker] Function
> Tomasz
>
> I have tried to build a afl script with a VBScript Function starting
> from the new features allowed by the last release of AB.
> But it seems that it doesn't work.
>
> For instance:
>
> EnableScript("vbscript");
>
> Var = Func(10);
>
> <%
>
> Function Func(i)
>
> Func = 5 *i
>
> End Function
>
> %>
>
> But I get an error at Func which seems not to recognised.
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
|