| System Functions |
|
| Format | MIN(compare_1,compare_2,
... [,ERR=stmtref]) Where:
|
||||
| Returns | The smallest numeric or string value from the list of supplied values. | ||||
| Description | The MIN(
) function returns the minimum (smallest) value
of the values or expressions specified. There is no limit
to the number of values or expressions that can be passed
to the MIN( ) function. All compare values must be the same type -- numeric or string.
|
||||
| See Also | MAX( ) Return Maximum Value | ||||
| Example | In this
example, the MIN( ) function evaluates
an expression (13/2.96=4.39), a literal (4.5) and a
variable (evaluated, A=5.69): 0010 A=12.345/2.71 0020 B=MIN(13/2.96,4.5,A); PRINT B -:run 4.39 |