_Added in 3.9_ *$max()* *$max()* Returns the maximum value from a list of tokens. By default it sorte tokens using the numeric sorting rules used by [[$sorttok]] 'n' switch. _See also [[$sorttok]]._ *Parameters* table(ktable). |*Parameter*|*Description*| | | If only one parameter is defined, it's treated as a list of space delimited tokens. | | | If multiple parameters is defined, it's treated as a list of comma separated tokens. | *Properties* table(ktable). |*Property*|*Description*| | .text | Sorts tokens using the same text sorting rules used by [[$sorttok]] 'a' switch. | | .textcs | Sorts tokens using the same text sorting rules used by [[$sorttokcs]] 'a' switch. | | .nick | Sorts tokens using the same text sorting rules used by [[$sorttok]] 'c' switch. | *Example*
//echo -ag $max(6 7 2 4 1)
//echo -ag $max(6,7,2,4,1)

//echo -ag $max(b B a A c C).text
//echo -ag $max(b,B,a,A,c,C).text
_