In this example, we have a script which, if it receives at least two parameters, iterates through the parameters to find the minimum value. If 1 or 0 parameters is passed to the script, it outputs an error message, otherwise min takes on the first parameter value and then a for loop iterates through all parameters seeing if each successive parameter is less than the value in min.


NOTE: to replay, right click and select Play