Il 12/04/2017 19:54, Bernd Oppolzer ha scritto:
I'm no FPC macro language wizard, but in my believe
you are replacing Positiva with False, followed by a semicolon,
and so you get the error from the compiler.

{$define Positiva:=False}

should probably work.

You are right, I was misled by some examples in the docs, but reading more carefully, actually it states that the syntax is

{$define ident:=expr}

so that my semicolon is part of the define, and not a termination as I had understood.

Thanks a lot.

Giuliano


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to