[fpc-devel] MACRO - correct syntax?

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Sun Feb 25 11:12:54 CET 2018

On 25/02/18 02:15, Ozz Nixon wrote:
> {$DEFINE _CTASSERT(X,Y,Z):=assert(x=y,z);}
> Begin   _CTASSERT(1,1,'Constant failed.');end.

I don't believe parameters are supported :-(

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-devel mailing list