PureBytes Links
Trading Reference Links
|
hello,
is there any way of calling an AFL defined function from JS? so that
(for example) the following code would work:
EnableScript("jscript");
function fAFL() { return 007*C; }
<%
function fJS( argStr ) {
var str = argStr + "007";
AFL(str)= new Array();
AFL(str)= *and here I would like to invoke pure AFL function, fAFL*
}
%>
objScript = GetScriptObject();
objScript.fJS("JamesBond");
and after that there would exist AFL variable named *JamesBond007* which
contains array of 0.007*C so that I could directly write:
Plot(JamesBond007, "JB007", colorRed);
I know it is possible to call JS function from AFL. how obout the
opposite? is it doable?
cheers,
BM
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
|