Topic Path: Symbol Reference > Functions > Max Function (Integer, Integer)
ContentsIndexHome
PreviousUpNext
Max Function

Determines the larger of two Integer values.

File
function Max(
    AValueOne: Integer; 
    AValueTwo: Integer
): Integer;
Parameters 
Description 
AValueOne 
The first Integer value.
 
AValueTwo 
The second Integer value. 

Integer - The larger of the two Integer values.

Max is an Integer function used to determine the larger of two Integer values. Max is provided to avoid any dependency on the Borland Math.pas unit.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.