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

Looks good but in the form

\processassignmentlist[a=1,b=2,...]\docommand

and (as equivalent to \processcommacommand)

\processassignmentcommand[\mylist]\docommand

where \docommand is defined as

\def\docommand#1#2{...} % #1 = key, #2 = value

Wolfgang

_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to