Viktor, > That's the main reason I always correct inline IF() to be IIF().
Of course, but part of the reasons to use hbformat is to deal with old ugly code like that. At the moment hbformat just interpret it as an IF statement and might fail many lines away on a mismatch END or other statement (had to choop a large PRG quite a few times to find the offending line) > --- This is an inline IIF: > IF ( .T., .F., .T. ) > ? "hello" > ENDIF ENDIF is wrong here :) but I know your intention. Chen. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
