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

[amibroker] Re: help with Jscript



PureBytes Links

Trading Reference Links

Really confused with this simple task...
Could you please post the code string for such an creation of Wscript 
object  and where should I insert it in my AFL formula?

With kind regards, Dmitri

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> Hello,
> 
> Simply in this case WScript is undefined variable.
> 
> WScript object is Windows Scripting Host (WSH) that is available if 
you are running
> from WSH (by running it either using cscript.exe or wscript.exe).
> 
> In AmiBroker, AFL engine is a host (not WSH), so WScript object is 
NOT built-in.
> You would need to create it using new ActiveXObject or CreateObject
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "dkourganov" <kourganov@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, June 07, 2005 6:03 PM
> Subject: [amibroker] help with Jscript
> 
> 
> > 
> > I'm not familiar with Java at all and  trying to compose simple 
script 
> > which delays running AFL code for a while (due to lack of such a 
> > command in native AFL). Here is the code inside my AFL formula:
> > 
> > EnableScript("jscript");
> > <%
> > Wscript.Sleep(1000);
> > %>
> > ....AFL code...
> > 
> > Compilator gives an error with it.
> > 
> > Can someone explain, please, what I'm doing wrong?
> > With kind regards, Dmitri
> > 
> > 
> > 
> > 
> > 
> > 
> > Please note that this group is for discussion between users only.
> > 
> > To get support from AmiBroker please send an e-mail directly to 
> > SUPPORT {at} amibroker.com
> > 
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> >





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/