[fpc-devel]Some idea of joint units
Yakov Sudeikin
yashka at exebook.com
Thu Nov 13 13:01:09 CET 2003
Guten morgen,
The same idea that I sent to borland bug/feature website years ago and want
to share with greatly respected FPC community.
Let's call it "reuse unit", wich can save a lot of time and space for
developers and is really easy to understand. For instance you create a unit:
- 8< - - - - - - - - - - begin unit - - - - - - -
Unit VCL;
Reuse Classes, Forms, Controls, Dialogs;
- 8< - - - - - - - - - - end unit - - - - - - -
Then in your app you only type
use VCL;
And that's it. This will be just the same as using all of the units, this is
kinda cool, ain't it? Especially with the smartlinking. In C++ you can get
the same results with the preprocessor, but preprocessors suck you know.
Thanks,
Yakov
More information about the fpc-devel
mailing list