home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / MBUG / MBUG099.ARC / FILL.I < prev    next >
Text File  |  1979-12-31  |  384b  |  11 lines

  1. {$A-}
  2. Procedure Fill(X,Y : Integer);
  3. Begin
  4.     Dot(X,Y,SetDot);
  5.       if Point(X,Y + 1) = 0 then Fill(X, Y + 1);
  6.       if Point(X + 1,Y) = 0 then Fill(X + 1, Y);
  7.       if Point(X,Y - 1) = 0 then Fill(X, Y - 1);
  8.       if Point(X - 1,Y) = 0 then Fill(X - 1, Y);
  9. End;
  10. {$A+}
  11.