<p>Am 20.08.2013 13:52 schrieb "Hans-Peter Diettrich" <<a href="mailto:DrDiettrich1@aol.com">DrDiettrich1@aol.com</a>>:<br>
><br>
> Mark Morgan Lloyd schrieb:<br>
><br>
><br>
>> Apropos Paul's comments of doing a good cross-reference and handling compiler directives, I think the thing that is likely to give real problems is the {$if defined() } form...<br>
><br>
><br>
> I'm not sure whether $if defined() works with ordinary constants. The $DEFINE and CONST identifiers most probably reside in different lists.</p>
<p>"defined(identifier)" is only for identifiers which were added using "$define", "-d..." or by the compiler itself. If you want to check for the existence of a Pascal identifier use "declared(identifier)".</p>

<p>Regards,<br>
Sven</p>