home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
windows
/
preview
/
wfplus.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-07-10
|
1KB
|
36 lines
{WFPLUS - Function Extensions to ObjectWindows Copyright (C) Doug Overmyer 7/1/91}
unit WFPlus;
{******************************************************************}
{ I N T E R F A C E }
{******************************************************************}
interface
uses WinTypes, WinProcs, WinDos, Strings, WObjects,StdDlgs;
function Max(I,J:Integer):Integer;
function Min(I,J:Integer):Integer;
{********************************************************************}
{I M P L E M E N T A T I O N }
{********************************************************************}
implementation
{***********************************************************************}
function Max(I,J:Integer):Integer;
begin
if I > J then
Max := I
else
Max := J;
end;
{***********************************************************************}
function Min(I,J:Integer):Integer;
begin
if I < J then
Min := I
else
Min := J;
end;
end.