I think there should be a function to return the highest value held by an array
function HighVal(arr: array of integer):integer;
say you got this:
MyArray[1]:=1;
MyArray[2]:=2;
MyArray[3]:=750;
MyArray[4]:=4;
HighVal(MyArray) would return 750
is there already a way to do this?