MINIMUM()

MINIMUM()

Top  Previous  Next

 

The MINIMUM() function returns the lowest value in a dynamic array.

 

 

Format

 

MINIMUM(dyn.array)

 

where

 

dyn.arrayis the dynamic array to be scanned.

 

 

The MINIMUM() function returns the lowest numeric value in dyn.array. Non-numeric and null elements of dyn.array are ignored. If the entire dynamic array is null, a null string is returned.

 

 

Example

 

S = '61':@VM:'42':@FM:'71':@VM:'57'

CRT MINIMUM(S)

 

This program fragment searches S for the largest numeric value and displays the result (42).