[fpc-devel] MACRO - correct syntax?

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


On 25/02/18 10:30, Florian Klämpfl wrote:
> 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 :)

Because it messes up what the OP was trying to do, which is not 
necessarily something to feel good about.

And as far as "doing it on purpose" is concerned, you might or might not 
be acquainted with what happened when the illustrious Brigadier Gerard 
tried his hand at cricket...

https://www.arthur-conan-doyle.com/index.php/The_Brigadier_in_England

:-)

-- 
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