unit MyUnit;
interface
uses crt,...etc;
procedure StarGow(x,y: integer; s: string); {Procedure and function headers}
procedure StarLine(y: integer);
function StopsToSpaces(s: string): string;
*
*
* etc.
implementation
{--------------------------------------------------------------------------------------}
procedure StarGow(x,y: integer; s: string); {Procedure and function coding}
begin
gotoxy(x,y);
clreol;
gotoxy(x,y);
write('*',s,'*');
end;
{---------------------------------------------------------------------------------------}
procedure StarLine(y: integer);
*
*
*
* ...etc.
end; {End of last procedure or function}
{---------------------------------------------------------------------------------------}
end. {End of unit}
Compile / Destination
This will change the destination to disc (click on Compile on the menu bar to check that this has happened). If you then choose Compile / Compile, the .TPU file will be created. This is the machine code version of your library.
uses crt, dos, MyUnit;
Author: Mark Baker, e-mail mbaker@rmplc.co.uk