home *** CD-ROM | disk | FTP | other *** search
/ Solo Programadores 22 / SOLO_22.iso / packages / win32ada / data.z / win32-windef.adb < prev    next >
Encoding:
Text File  |  1995-11-17  |  1.1 KB  |  31 lines

  1. -- $Source: /home/harp/1/proto/monoBANK/winnt/win32-windef.adb,v $ 
  2. -- $Revision: 1.2 $ $Date: 95/02/02 15:58:15 $ $Author: mg $ 
  3. -------------------------------------------------------------------------------
  4. --
  5. -- THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS FURNISHED "AS IS" WITHOUT 
  6. -- WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
  7. -- TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 
  8. -- PURPOSE.  The user assumes the entire risk as to the accuracy and the 
  9. -- use of this file.
  10. --
  11. -- Copyright (c) Intermetrics, Inc. 1995
  12. -- Royalty-free, unlimited, worldwide, non-exclusive use, modification, 
  13. -- reproduction and further distribution of this file is permitted.
  14. --
  15. -------------------------------------------------------------------------------
  16.  
  17.  
  18. package body Win32.Windef is
  19.  
  20.     function Max (A, B: T) return T is
  21.     begin
  22.       if A > B then return A; else return B; end if;
  23.     end Max;
  24.  
  25.     function Min (A, B: T) return T is
  26.     begin
  27.       if A < B then return A; else return B; end if;
  28.     end Min;
  29.  
  30. end Win32.Windef;
  31.