A STRING-returning function should not output to the inherited #CURRENT-OUTPUT.

#2537   Compile-time warning

A STRING-returning function should not output to the inherited #CURRENT-OUTPUT.

Explanation

A string function that outputs to its inherited #current-output can lead to unpredictable behaviour, depending on the calling context. Uses of output inside such a function should appear inside using output as scope.