home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
153.img
/
TELES.ZIP
/
ASCII.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-07-06
|
741b
|
26 lines
if not useron then begin incom:=true; outcom:=true; if i=1 then i:=-2; end;
case i of
-2:begin
assign(f,fn);
{$I-} reset(f); {$I+}
if ioresult<>0 then print('File not found.') else begin
abort:=false;
clrscr;
done:=false; abort:=false;
x:=wherex; y:=wherey;
window(1,25,80,25);
textcolor(11); textbackground(1);
gotoxy(1,1);
for t:=1 to 80 do write(' ');
gotoxy(1,1);
write('Uploading ASCII File '+fn+' -- Please Wait');
textcolor(7); textbackground(0);
window(1,1,80,24);
gotoxy(x,y);
repeat
read(f,g);
o(g); write(g);
until (eof(f)) or (abort);
close(f);
end;
end;