minlist
minlist |
Purpose
Synopsis
function minlist(i1:integer, i2:integer[, i3:integer...]):integer
function minlist(r1:real, r2:real[, r3:real...]):real
Arguments
i1,i2,...
|
List of integer numbers
|
r1,r2,...
|
List of real numbers
|
Return value
Smallest value in the given list.
Example
In the following
r is assigned the value
-1 by
maxlist:
r:= minlist(-1, 4.5, 2, 7, -0.3)
Further information
The returned type corresponds to the type of the input.
Related topics