Example:
GTM> SET X="A""B",^Y(1,X,"B",4)="" GTM> WRITE $NAME(^(3),3) ^Y(1,"A""B","B") GTM>
This example sets up a naked reference and then uses $NAME() to display the first three levels of that four-level reference.
Example:
GTM> WRITE $NAME(^(3),0) ^Y GTM>
This example shows the name level for the same naked reference.