fpc/tests/webtbs/tw4398.pp
peter 24f273f43c * new test
git-svn-id: trunk@1243 -
2005-10-01 20:48:20 +00:00

24 lines
339 B
ObjectPascal

{$mode tp}
procedure display(s:string);
var L:longint;
begin
for l:=1 to length(s) do
begin
case s[l]of
'^':begin
INC(L);
case s[l] of
'M':writeln;
else write('^'=s[l]);
end;
end;
else write(s[l]);
end;
end;
end;
begin
DISPLAY('^MHello Line One^M');
end.