Since it makes no sense to read from an output parameter variable, output parameters should only be written to within the function. Their value is undefined.
Within a function, writing to an input-only parameter (qualified with in) is allowed. The function's copy of the argument is modified, and changes are not reflected in the argument.