Hi, I need a hand to get going with creating a few libraries, that I want to convert from DOS Modula2. and already stuck with the following that gives a compile error that I cannot understand.
If someone would clarify the code , it would be a great help and enable me to press on.
MyLib.pas(47,3) Fatal: Syntax error, ";" expected but "identifier CLEARLINES"
( Capitals, I prefer them in some places, and its only for myself )
Dave P..
procedure Clearline( Y, BgCol : byte );
begin
GotoXY( 1, Y );
TextBackground( BgCol );
ClrEol;
end;
procedure ClearLines( y1, y2, BgCol : byte );
var
J : byte;
begin
TextBackground( BgCol );
for J := y1 TO y2 DO
GotoXY( 1, J );
ClrEol;
// end for
end;
procedure Colors( FgCol, BgCol : Byte );
begin
TextColor( FgCol );
TextBackground( BgCol );
end;
exports
ClearLine;
ClearLines;
Colors;
END.