Open main menu

Changes

→‎Problems with expansion: handle unknown values in MkII
</texcode>
Another way that should work in MkII too, but doesn't cope with unknown values:
<texcode>
\getparameters[MyMacro:][a=\a,b=\b]
\def\MyMacro#1{\csname doifdefinedelse{MyMacro:#1}{\endcsnamegetvalue{MyMacro:#1}}{\a}}
</texcode>
3

edits