Anyone have a clue why this apparently doesn't work ?

RRR apparently never gets the value of what is in YYY and thus never 
returns it to TTT. The MsgBox also shows RRR to be non existant. 
There are however no problems with SSS which is set in VBS.  It shows 
in the message box and via printf.

EnableScript("VBScript");

function XXX(YYY)
{
    ZZZ = 0;

    printf(NumToStr(YYY) + "\n");

    <%
        RRR = AFL.Var("YYY") 
        SSS = 7

        MsgBox CStr(RRR) + " " + CStr(SSS)

        AFL.Var("TTT") = RRR
        AFL.Var("UUU") = SSS
    %>

    printf(NumToStr(TTT) + "\n");
    printf(NumToStr(UUU) + "\n");

    ZZZ = 0;

    return;
}

XXX(6);





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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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



Reply via email to