How to add your knowledge

maxList()

    Table of contents
    1. 1. Synopsis
    2. 2. Syntax
    3. 3. Example 1
    4. 4. Example 2
    5. 5. Example 3

    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