PureBytes Links
Trading Reference Links
|
Nevermind - found it...
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Steve Dugas
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, October 27, 2002 1:47
PM
Subject: [amibroker] scripting
question
Hi All,
Well, I have made it about as simple as possible, andit
still doesnt work. I am just trying to pass a variable to the script and back
again. Can anyone tell me why I get an AFL syntax error at the line indicated
below? Thanks very much!
Steve
************************************
myvar = 5;
EnableScript("vbscript")<%Function
Myfunc(myvar2) Myfunc = myvar2End Function%>
script =
GetScriptObject(); //
<- AFL syntax error here at "script" (Column 6)
ValueFromScript = script.Myfunc(myvar);Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|