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

help on jscript please.



PureBytes Links

Trading Reference Links

Hi,

I started to implement some embedded jscript; I was
testing out passing in/out array into jscript, however
It does not seem to work, please comment.


EnableScript("jscript");
AllTroughs = TroughBars(price,window,1)==0;

<%
recentTroughs = VBArray( AFL(
"Alltroughs")).toArray();

for( i = 1; i < recentTroughs.length; i++ )
{
recentTroughs[ i ] = 0;
}

AFL.Var("AllTroughs") = recentTroughs

%>

Plot(Alltroughs,"",1,2);

I know that I can do the same in AB; however I'm
trying to see how it works in Jscript.

TIA

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/