Inout default value

In reply to Peak25500:

The problem is not with the presence of a default, but the fact that the default argument cannot be written to. Although it is not very clear from the text of the LRM, the example shows that a default argument for output, inout, and ref argument must be assignable. For an output or inout argument, the “value” needs to be written to upon exiting the task or function.