Error E0047 Code Both block contains macro and declared symb

Error E0047 Code Both block contains macro and declared symb

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

Hello everyone

Has anyone solved the following compilation error in xHarbour:
Error E0047 Code Both block contains macro and declared symbol
I tried to get the line that produces the error in a small test program

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

but in that case the compilation is successful.

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


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

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

This compiles fine here:

Code: Select all  Expand view
FUNCTION MAIN()

    LOCAL nRet

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

    RETURN NIL


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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 20 guests