[lazarus] Saving and loading units and project doubts

Peter Vreman peter at freepascal.org
Wed Feb 28 06:31:35 EST 2001


> > b) What is 'aliases' property of Tproject for?
> 
> This was designed to hold the unit aliases like those in Delphi. In
> other words, if you have a unit called "linux" and it is later renamed
> to "linapi", then you could put in an alias of "linux=linapi" so the
ID> E
> can substitute linapi whenever it sees linux in the uses clause. The
> aliases would likely be separated by semi-colons (;), or something
> similar, as they are in Delphi.

This is not supported by the compiler. And it won't be supported in the future as Michael
and Florian are against it, because it's only confusing.

It was added in the past in Delphi to allow backwards compatibility of the windows unit
with the wintypes and winproc units.








More information about the Lazarus mailing list