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

[amibroker] Sample JavaScript Date Code



PureBytes Links

Trading Reference Links


With the following .js code:
-----------------------
FromDate = new Date(2003, 1, 1);
ToDate = new Date(2004, 1, 1);
AA.RangeFromDate = FromDate; <----------- error
AA.RangeToDate = ToDate;
-----------------------

I'm getting a type mismatch at the indicated line.  If anyone can 
help that would be great.

BTW AA is the "Analysis" Object created via the AB Object Model, as 
per the help files.

thanks,
chris





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/