home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_01 / 2n01050c < prev    next >
Text File  |  1990-12-03  |  170b  |  10 lines

  1.  
  2.  
  3.  
  4. function leap(y : longint) : boolean;
  5.         begin
  6.         leap2 := (y mod 4 = 0) and ((y mod 100 <> 0)
  7.                   or (y mod 400 = 0));
  8.         end;
  9.  
  10.