I have noted some odd behaviour in $Q,$QS, and $QL if
subscripts with control characters are encountered.
It appears that $Q converts the control codes to
display values embedded within a $C( ). Then the $QS
and $QL functions fail completely when executed against
one of these values returned by $Q. It should be noted
that $O works fine with these values.
GTM> K ^X
GTM> S A=$C(3)_"ABC"_$C(10)
GTM> S ^X(A)=""
GTM> S B="^X"
GTM> W $Q(@B)
GTM> S S=$Q(@B)
GTM> W $QS(S,1)
%GTM-E-NOCANONICNAME, Value is not a canonic name
This error also occurs with $QL
Log in to post a comment.