A disallowed operation on a non-modifiable stream argument was encountered.

#2053   Compile-time error

A disallowed operation on a non-modifiable stream argument was encountered.

Additional Information

The 'X' action cannot be applied to stream 'Y'.
The STREAM 'X' cannot be used for output.
The STREAM 'X' cannot be passed as a VALUE STRING SINK argument.

Explanation

VALUE, READ-ONLY, and REMAINDER function arguments may not be modified in any way.