MarkF Regular Member
 Joined: 01/08/2023 Location: AustraliaPosts: 49 |
| Posted: 07:47am 09 Aug 2023 |
|
|
|
Thanks Martin and Volhout.
I should have given an example.
One dim array e.g. (12,0,14.5,3,62)
The lowest element in the array is 0, but I wanted to get 3 instead (the lowest min above zero).
MMBasic function ====> MATH(MIN arrayname()) is a solution.
But it returns 0 if I use it on the above example array. Whereas I would like to get 3.
MATH(MIN arrayname() [,index%]) Perhaps the index can be used, but I don't know how to use it.
-thanks Edited 2023-08-09 18:38 by MarkF |