PureBytes Links
Trading Reference Links
|
Rick -
Thanks for the post, the "msgbox" thing did it. The array type
was "variant" but some of the elements were "sng" subtype. Have a
nice day.
loul
----------------------------------------------------------------
--- In amibroker@xxxx, "Rick Parsons" <RickParsons@xxxx> wrote:
> In VBScript, you can use MsgBox to display the contents of
variables, for example:
>
> Call MsgBox("Value of Trigger = " & Trigger & " BSSC = " & AFL
("BSSC") & " Stop Loss = " & SL & " for stock " & Stock,
64, "Check!")
> Another thing to do to debug your code is to comment out lines one
by one using the single quote mark ' until the error goes away.
> Then the last line you commented out may turn out to be the source
of the problem.
>
> Rick
> -----Original Message-----
> From: loulh [mailto:loul@x...]
> Sent: Thursday, April 18, 2002 12:34 AM
> To: amibroker@xxxx
> Subject: [amibroker] Help - Type Miss Match - assignment failed
>
>
> Two questions, first, is there a way to use Microsoft's VBscript
> Debugger on AFL script programs? Second, the following simple
code
> gets the above error, what could be wrong? The "assignment
failed"
> occurs when running "explore". Any and all help appreciated.
> loul
>
> <%
>
> C = AFL("c")
>
>
> for i = 0 to UBound(C)
> sc(i) = C(i)
> next
>
> AFL.var("SCCI") = SC
> %>
>
> p.s. running VBscript ver 5.6
>
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
|