(LMIN(list))
Returns the minimum value in list. Values in a list can be a CURRENCY, DOUBLE, REAL, INTEGER, NUMERIC, DATE, or TIME data type. The function LMIN is not the same as the function MIN, which is used only with the SELECT command.
In the following example, the value of vlmin is 2, the lowest number in the list.
SET VAR vlmin = (LMIN(2,80,14,22))