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.
maxList ( list As List ) As Number
Argument | Type | Description |
---|---|---|
list | List | A list containing only Integers and Numbers . |
Intent >maxList({3, 4.1, 1.2, 11.9, 7}) --> 11.9
Intent >maxList({-5, -3, -7.1}) --> -3
Intent >maxList({}) --> NoValue