This function returns the element of a dynamic array with the lowest numerical value. It takes the general form:
Where DynArr should evaluate to a dynamic array.
Null dynamic array elements are treated as zero. Non-numeric dynamic array elements are ignored. If the lowest number is less than zero then it is returned with a leading zero, e.g. 0.42
An example of use would be as:
VAR_ARR =" " FOR I = 2 TO 4 INS I*3 BEFORE VAR_ARR<-3> NEXT I CRT MINIMUM(VAR_ARR)
to display 6
See also: MAXIMUM.
Go back to jBASE BASIC.