FWIW Math unit doesn't ship with the standard version of Delphi >From Help ** MAXINTVALUE Returns the largest signed value in an integer array. Unit Math Category Statistical routines function MaxIntValue(const Data: array of Integer): Integer; Description Call MaxIntValue to obtain the largest integer from the Data array. ** MININTVALUE Returns the smallest signed value in an integer array. Unit Math Category Statistical routines function MinIntValue(const Data: array of Integer): Integer; Description Call MinIntValue to obtain the smallest integer in the Data array. >> All I really need is for someone to tell me what they do :) --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"