Re: "Peak" Command
I am afraid I do not know what language you are coming from. Maybe someone else does. If I were programming a function to do this I would start with the first number in the array, compare it to the next, keep whichever number is greater and then compare that to the next value, keep the number that is greater, ect. At the end you would be left with the largest number in the array. You could use a for..Next loop, a Do..Loop, or a while..loop. Hope this helps.