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

[amibroker] Syntax Error ?



PureBytes Links

Trading Reference Links

I have the following code
I have a Syntx Error on the first line ?
Thanks for your help

Bernard

    fh = OuvrirFichier(NomFichier, "r");
                              ^
 ============>
function OuvrirFichier(sNomFichier, sMode)
{
    fh = fopen(sNomFichier, sMode);    
    if(NOT fh )
    {   
           printf("Erreur lors de l'ouverture du fichier : " + 
sNomFichier);
    }    
    return fh;
}

-- 
Bernard Bourée
bernard@xxxxxxxxxx
Mob: +33 6 09 11 05 91 



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/

<*> 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/