[fpc-devel] MACRO - correct syntax?

Ozz Nixon ozznixon at gmail.com
Sun Feb 25 03:01:17 CET 2018


{$MACRO ON}

{$DEFINE _CTASSERT(X,Y,Z):=assert(x=y,z);}

Begin
   _CTASSERT(1,1,'Constant failed.');
end.




More information about the fpc-devel mailing list