Error E0047 Code block contains both macro and declared symb

Moderator: Enrico Maria Giordano

Error E0047 Code block contains both macro and declared symb

Postby mauri.menabue » Sat Sep 17, 2016 7:22 am

Salve a tutti

Qualcuno ha risolto il seguente errore di compilazione in xHarbour :
Error E0047 Code block contains both macro and declared symbol
ho tentato di riportare la riga che genera l'errore in un piccolo programma di prova

DbEval( {|| nRet ++ }, {|| .not. Deleted() } )

e li la riga e' compilata regolarmente.

Con Harbour non ho problemi.

Grazie
User avatar
mauri.menabue
 
Posts: 146
Joined: Thu Apr 17, 2008 2:38 pm

Re: Error E0047 Code block contains both macro and declared symb

Postby Enrico Maria Giordano » Sat Sep 17, 2016 9:28 am

Questo compila regolarmente:

Code: Select all  Expand view
FUNCTION MAIN()

    LOCAL nRet

    DbEval( {|| nRet ++ }, {|| .not. Deleted() } )

    RETURN NIL


Come faccio a riprodurre il problema? Nessuna delle mie applicazioni dà quell'errore compilandole. Dev'essere un caso particolare ma senza poterlo riprodurre non so che fare.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8243
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to All products support

Who is online

Users browsing this forum: No registered users and 9 guests