[fpc-devel] MACRO - correct syntax?

Florian Klämpfl florian at freepascal.org
Sun Feb 25 11:16:03 CET 2018


Am 25.02.2018 um 11:12 schrieb Mark Morgan Lloyd:
> On 25/02/18 02:15, Ozz Nixon wrote:
>> {$MACRO ON}
>> {$DEFINE _CTASSERT(X,Y,Z):=assert(x=y,z);}
>> Begin   _CTASSERT(1,1,'Constant failed.');end.
> 
> I don't believe parameters are supported :-(
> 

Why so sad? They are not supported on purpose :)



More information about the fpc-devel mailing list