\def\doMycommand[#1][#2]#3{whatever}
</texcode>
----
<i>Can someone test to see if <cmd>dosingleempty</cmd> and <cmd>dodoubleargument</cmd> can be chained, to get two square-bracketed arguments only one of which is optional?</i> --[[User:Brooks|Brooks]]
[[Category:Inside ConTeXt]]