Xbasic

*MAX Function

Syntax

Value as N = *MAX(N list_on_values)

Arguments

Value

The largest value.

list_on_values

A CR-LF list of numeric values.

Description

Get the maximum value from a cr-lf delimited values.

Discussion

The *MAX() function returns the largest value in a CR-LF list of numbers.

Example

dim list as C
list = <<%a%
1
2
4
10
%a%
? *max(list)
= 10

See Also