[dev-context] processing comma/assignmentlist

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Jul 19 13:16:07 CEST 2009


Am 19.07.2009 um 13:09 schrieb Hans Hagen:

>> 2. A command to access the keys and labels of a assignment list at  
>> user level, e.g.
>>   \def\myassignmentlist[#1]%
>>     {\def\dosomethingwithkeyandvalue##1##2##3{... ##2 ... ##3}% ##1  
>> = namespace (not used here)
>>      \dogetparameter\dosomethingwithkeyandvalue[...][#1]}
>>   \myassignmentlist[..,..=..,..=..]
>
> is this the best name? maybe
>
> \getmyparameters[a=1,b=]\handler
>
> (or \getmyparameters\handler [a=1,b=])

This was only a example where I needed a command name but I don't know  
if I really need
such a function, I rewrote my macro now and \getparameter seems to be  
sufficient.

Wolfgang



More information about the dev-context mailing list