[fpc-pascal] using units in units...

Vincent Snijders vsnijders at quicknet.nl
Tue Dec 7 22:57:27 CET 2004


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 returned';
>     end;
> end.
> 

Like this.




More information about the fpc-pascal mailing list