# [NTG-context] How to "\processcommalist"?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Jul 1 18:15:26 CEST 2005

```I would like to define a command, which would be called in the following way:
\TheBossWantsTheWorkToBeDoneOn[monday,wednesday,thursday]{tidy up}

so that it would be equivalent to:
\WeHaveToDo[monday]{tidy up}
\WeHaveToDo[wednesday]{tidy up}
\WeHaveToDo[thursday]{tidy up}

I played a bit with different variants of \processcommalist, but I
can't figure out how to use it in this particular case.

Is there also a possibility to define a command like

which would expand into