home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 September
/
Chip_1999-09_cd.bin
/
ctenari
/
Trejbal
/
TRELL.PAK
/
SOURCE
/
ERSD.EXE
/
TOMAS.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1998-11-25
|
741b
|
50 lines
uses dos,crt,slova,matika;
var i,j,k,l,m,n,o : integer;
suma,skl2,kat2,skl,kat,radk,rad,kus,celk,sfs : string;
aa,bb,cc,ee,ff,gg:text;
znak:char;
procedure ochrana;
begin
reset(aa);
rewrite(bb);
while not(eof(aa)) do
begin
readln(aa,rad);
if not(rad=chr(12)) then writeln(bb,rad);
end;
close(aa);
close(bb);
reset(bb);
rewrite(aa);
while not(eof(bb)) do
begin
readln(bb,rad);
kus:='';
for i:=1 to ord(rad[0]) do
begin
if not(rad[i]=chr(12)) then kus:=kus+rad[i];
end;
writeln(aa,kus);
end;
close(aa);
close(bb);
erase(bb);
end; { konec procedury }
begin
assign(aa,'C:\trell\convert.dll');
assign(bb,'terry_01');
ochrana;
end.