Martin Frb via lazarus <lazarus@lists.lazarus-ide.org> schrieb am So., 19. März 2023, 20:57:
> On 19/03/2023 19:53, Sven Barth via lazarus wrote: > > If it *would* work however you could simply do {$if not > > declared(name_of_the_unit)}, because the unit name is also a valid > > symbol. > > ooohh nooo. That would be like C header files.... Don't wont that. ;) > It's you who brought out the ifdef idea and I simply pointed out a more correct solution than picking some random symbol in the unit. Regards, Sven >
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus