<div dir="ltr"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><pre>is it possible to use a command argument as macro itself? The idea is <br>
something like this:<br><br>\document{article}<br>\newcommand{\coma}{1}<br>\newcommand{\comb}{2}<br>\newcommand{\comc}{3}<br>\newcommand{\getnumber}[1]{ \#1 }<br>\begin{document}<br>\getnumber{coma}<br>\end{document}<br></pre>
</blockquote><div><br><br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">\def\getnumber#1{\aftergroup\#1}</p> </div>-- <br>Vafa<br>
</div>