home *** CD-ROM | disk | FTP | other *** search
- procedure savescreen;
- begin
- assign(outfile,'d:out'+digits[fileno]+'.pic');
- rewrite(outfile);
- move(display,cache,sizeof(display));
- write(outfile,cache);
- close(outfile);
- fileno := fileno+1;
- end;
-
-
- procedure show (many:integer);
- begin
- writeln('How many pic. files?');
- fileno := 0;
- while fileno < many+1 do
- begin
- assign(outfile,'d:out'+digits[fileno]+'.pic');
- reset(outfile);
- read(outfile,cache);
- move(cache,display,16384);
- close(outfile);
- if fileno = many then fileno := 0
- else
- fileno := fileno+1;
- end;
- end;