How do I construct a string in LaTeX (perhaps with variables) that calls the LaTeX macro with the corresponding name?
For example, say I have defined a comment as \def\Comment1{Example text.} and \def\CommentText[#1]{\comment#1} and I want \CommentText[1] to produce "Example text".
I am pretty sure the above does not work.
Is there any way to make it work? Is there some good way to achieve the same result with another method (assuming I have about 50 comments that I want to name with names that make them easy for others to understand).