could someone explain to me why in the following code the macro
\msg is not defined as "Hello World"Code: Select all
\def\hello#1{Hello #1}%
\def\world{World}%
\expandafter\def\expandafter\msg\expandafter{\expandafter\hello\world}%
\show\def%Code: Select all
> \msg=macro:
->\hello World.Code: Select all
> \msg=macro:
->Hello World.\hello is not expanded as I was expecting.I need a single level expansion of both
\world and \hello and the the expansion of \world to be used as argument of \hello.Thanks!