Hello, Because the program below, generates a compilation error:
[CODE] *#include "fivewin.ch" #ifdef __HARBOUR__ #ifndef __XHARBOUR__ #include "hbcompat.ch" #endif /* __XHARBOUR__ */ #endif /* __HARBOUR__ */ function MAIN local cTeste := "nVar = 2" private nVar := 1 if .not. ( empty( cTeste ) .or. &( cTeste ) ) ? "NO" else ? "OK" endif return NIL [ENDCODE] Generate this error: Harbour 1.1.0dev (Rev. 10564) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'hrberr3.prg'... hrberr3.prg(16) Error E0030 Syntax error "syntax error at ')'" hrberr3.prg(18) Error E0014 ELSE does not match IF hrberr3.prg(20) Error E0010 ENDIF does not match IF 3 errors Regards, Rossine. -- View this message in context: http://www.nabble.com/Error-in-%22if%22-tp22412518p22412518.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour