maxl(List) and max(number 1,number 2,...,number n)
These functions are used for obtaining maximum value from a given range.
maxl(List) → number This function designed to calculate the maximum value from a list of numeric values or elements.
max(number 1,number 2,...,number n) → number This function designed to calculate the maximum value from a series of numbers.
Example:
<br><O N="maxlObject1" T="Project" Category="Functions" TransAlignRule="1"><br> <!-- created by ParamML Examples on 8/21/2023 --><br> <P N="List1" V="[0,1,2,3,4,5,6,7,8,9]" /><br> <P N="MaxLOfList" V="maxl(List1)" /><br> <P N="MaxOFList" V="max(0,1,2,3,4,5,6,7,8,9)" /><br></O><br>

As demonstrated, both of the functions return as 9. The difference lies in the way the functions are called and the argument format they accept.
To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objidm3wg2503q94uubx23paqw )
Last updated