I have a sheet of input orders like:
\input{something}
\input{another thing}
\input{some other thing}
- ...
I want to make a command like \myinput{}
so that if I use \myinput{24}
then that will input my 24-th tex in the main tex.
I know I can define this \myinput{}
like
\ifnum #1=1 \input{...}
\else\ifnum #1=2 \input{...}
\else\ifnum #1=3 \input{...}
\fi
But this is too long... How can I make this command more brief?