greatest

Gets the greatest (maximum) value in a set.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

expr greatest(data1,[data2[,...]])
expr          data1, data2

Example

Find the latest of several datetime values.
printf("The latest date is " ^^ greatest(dt1,dt2,dt3));