I want to know how to throw a warning when latex reach to a certain point.
For instance:
\switch [\exp1]
\case{{case 0}}
%do whatever
\case{{case 1}}
%do whatever
\otherwise
%throw warning
\endswitch
Is it possible to do it?