maxList()

Synopsis

Returns the maximum value in list, which must contain only Integers or Numbers. The value returned is always a Number, not an Integer. This function is effectively obsolete, use Apply(:max, myList) instead.

Syntax

maxList ( list As List ) As Number 
Argument Type Description
list List A list containing only Integers and Numbers.

Example 1

Intent >maxList({3, 4.1, 1.2, 11.9, 7}) 
--> 11.9 

Example 2

Intent >maxList({-5, -3, -7.1}) 
--> -3 

Example 3

Intent >maxList({}) 
--> NoValue