04-12-08 00.27, skrev David Emerson följande:
> I'm not sure about it, but it may even be possible to put a uses list inside
> initialization and/or finalization sections.
No, but the initialization and finalization sections has access to the units
already used.
Olle
__
You need to put your "uses" list inside either the interface or the
implementation of the unit. You can even put different lists in the interface
and implementation sections (though you can't list the same unit in BOTH
lists). Usually the implementation section will have a longer uses list; the
Ron Weidner wrote:
I'm looking for a little syntax help please. How do
you use units in a unit? The following doesn't work.
unit unit_test;
interface
uses crt;
function make_line(): String;
implementation
function make_line(): String;
begin
make_line := 'This is a string retu