Returns the minimal value contained in an array.
Sorry, I just want to know how to use the ArrayMax(). If I have three values like: 3,4 and 5. Can I simply set MyMax = ArrayMax(3,4,5) ?
No, you have to pass your variable array name into the instruction. In this example, the code will return 3:
$a[0]=3 $a[1]=4 $a[2]=5 return arraymin($a)
Sorry, I just want to know how to use the ArrayMax(). If I have three values like: 3,4 and 5. Can I simply set MyMax = ArrayMax(3,4,5) ?
No, you have to pass your variable array name into the instruction. In this example, the code will return 3:
$a[0]=3
$a[1]=4
$a[2]=5
return arraymin($a)