%#!ptex
\newcount\x
\scrollmode
\def\T#1{\x=`#1 \message{\the\x}}
\def\漢{}
\def\aaa{西}\T{\aaa}% err
\def\AAA{s}\T{\AAA} % err
\let\ccc=西\relax\T{\ccc} % err
\T~ \T\a \T{漢}
\T\漢 % err
\end
