I found this directive declared in Controls.pas (and also in other units) and I’ll be glad to know what does it mean.
{$C PRELOAD}
As far as I know $C means assertions control but what is the PRELOAD keyword ? Is it something like “assert me at preloading time” ?
I found this in Delphi 2009
Thank you
The
$Cdirective is calledCode segment attributeand in conjuntion with the keywords MOVEABLE, FIXED, DEMANDLOAD, PRELOAD, DISCARDABLE, PERMANENT changues the attributes of a code segment.if you use the
$Cdirective with a+or-you are using enabling or disabling the generation of code for assertions.example :