Task

Create a function that returns the maximum value in a provided set of values,

where the number of values may not be known until run-time.




list = 1,5,17,-2
Loop Parse, list, `,
   x := x < A_LoopField ? A_LoopField : x
MsgBox Max = %x%