On Sun, 21 Jun 2009, Szak�ts Viktor wrote:

Hi,

> I was proposing extra Harbour compiler warnings for this purpose
> a while ago. For the compiler it's a much easier job to detect these
> cases and show a warning, since the full PP + parser logic is there.

#command IF( <cond>, [<exptrue>], [<expfalse>] ) => ;
         #stdout "Danger IF() usage !!!";;
         IIF( <cond>, <exptrue>, <expfalse> )

use #translate instead of #command if you want to detect also if() usage
as argument.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to