mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 19:28:13 +02:00
* new test
git-svn-id: trunk@1243 -
This commit is contained in:
parent
230bd19451
commit
24f273f43c
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6310,6 +6310,7 @@ tests/webtbs/tw4308.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4336.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4350.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4388.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4398.pp svneol=native#text/plain
|
||||
tests/webtbs/ub1873.pp svneol=native#text/plain
|
||||
tests/webtbs/ub1883.pp svneol=native#text/plain
|
||||
tests/webtbs/uw0555.pp svneol=native#text/plain
|
||||
|
23
tests/webtbs/tw4398.pp
Normal file
23
tests/webtbs/tw4398.pp
Normal file
@ -0,0 +1,23 @@
|
||||
{$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.
|
Loading…
Reference in New Issue
Block a user