PureBytes Links
Trading Reference Links
|
Hi,
Input gives you a string, while you need a number - use a CInt() function
to convert:
EnableScript("vbscript");
<%
Dim Input
Input = InputBox("Enter a number" )
AFL("pds")= CInt( Input )
%>
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com
----- Original Message -----
From: "Anthony Faragasso" <ajf1111@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, November 22, 2001 8:34 PM
Subject: [amibroker] help with code
> Tomasz;
>
> When I run this code I get ( bad arg.) Please help.
>
> EnableScript("vbscript");
> <%
> Dim Input
> Input = InputBox("Enter a number" )
> AFL("pds")=Input
> %>
>
> MA1=MA(C,pds);
> Graph0=MA1;
>
> Anthony
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
|