[fpc-devel] Valid macpas syntax ?

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Dec 4 10:16:57 CET 2006


On 4 dec 2006, at 01:18, Mattias Gaertner wrote:

> Can someone explain the meaning of
>
> {$ifc defined __ppc__ and __ppc__}
>
> ?

Semantically, it means {$if defined(__ppc__) and (__ppc__ = true) }

You cannot check the value of undefined symbols (at least not in FPC,  
I believe in GPC and MetroWerks they automatically evaluate to false).


Jonas



More information about the fpc-devel mailing list