PureBytes Links
Trading Reference Links
|
hi,
I made a function in jscript e.g.
function test_func(a, b)
{
.......
return .....;
}
and saved this as a separate file test_func.afl
Now I want to use this function within AFL code e.g.
buy = test_func(a,b);
did not get it to work.
I used in the AFL code:
EnableScript("jscript");
<%
Close = VBArray ( AFL ( "close" ) ).toArray();
Buy = test_func(Close,30);
%>
in the function test_func.afl itself I did not add EnableScript.
Question: how do I incorporate a jscript function I made myself into
AFL code?
thanks, Ed
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/
|