Error: $ZCONVERTās fourth argument must be an unsubscripted local variable
$ZCONVERT(string, mode, table, handle) keeps the state of an I/O translation cut
mid-character in its fourth argument, and IRIS takes nothing but a plain local variable
there: a subscripted node, a global or a literal is a compile error. Give it an
unsubscripted local.
IRIS rejects the example.
Class Demo.HandleNotALocal
{
ClassMethod ToUtf8(text As %String) As %String
{
Quit $ZCONVERT(text, "O", "UTF8", state(1)) //! A4652
}
}