Internet Direct (Indy)
Home
PreviousUpNext
Max Function

Determines the larger of two Integer values.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.