Module Kumite Public Function Min(arr As Single()) as Single Return arr.Min End Function End Module
- Module Kumite
Public Function Min(byref array() As single) as singledim minV as integer = 10for counter as integer = 1 to array().length - 1if array(counter) < min thenreturn minV = array(counter)elsereturn minVend ifnextreturn minV- Public Function Min(arr As Single()) as Single
- Return arr.Min
- End Function
- End Module