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;
uses crt;
interface
function make_line(): String;
implementation
function make_line(): String;
begin
make_line := 'This is a string returned';
end;
e
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
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