# maximum() function

The maximum() function returns the maximum
of a list of numbers delimited by attribute, value, or subvalue marks.
If different orders of marks are present, the maximum() function returns
the maximum of all fields, regardless of delimiter.

Note: This function requires a nondefault compiler $options setting.

## Syntax

```
maximum(str.exp)
```

## Example(s)

The result, `3.2`, displays on the terminal.

```
equ am to char(254)
crt maximum(3:am:3.2)
```

## See also

- [$options directive](https://d3codex.com/pickbasic-flashbasic/dollar-options-directive/)

---
Source: https://d3codex.com/pickbasic-flashbasic/maximum-function/ - part of the D3Codex reference.
