CDISP0238E

The function name function expects a string literal, but found the following expression: expression.

The call to the function needs a compile time rstring literal as an argument, but an it was not specified.
Ensure that the argument is a compile time rstring literal.