MAXIMUM() |
![]() ![]() ![]() |
The MAXIMUM() function returns the greatest value in a dynamic array.
Format
MAXIMUM(dyn.array)
where
The MAXIMUM() function returns the greatest 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 MAXIMUM(S)
This program fragment searches S for the largest numeric value and displays the result (71). |