At 15:32 27/08/2003 +0200, you wrote:
Hello all,
I have problems to understand the command (parameter) mechanism of context. My experiments with \getparameters didn't work, so I used \xdescgetparameters from Giuseppe Bilotta (t-xdesc.tex). In my eyes they look the same, but \xdescgetparameters works with my sample code, \getparameters don't. Mhhh....
% t-xdesc.tex \def\xdescsetvalue#1#2{\expandafter\def\csname#1#2\endcsname} \def\xdescgetparameters{\dogetparameters\xdescsetvalue}
% syst-gen.tex \def\dosetvalue#1#2% #3 {\@EA\def\csname#1#2\endcsname} % {#3}} \def\getparameters {\dogetparameters\dosetvalue}
This leads me to my two questions: What must I change, to make my test example run with \getparameters?
Where is the error in my \docommand? All parameters but [height] work and the tracing output at this parameter (\OTRSETshowstatus) says nothing to me.
for that purpose there is: \setvariables[namespace][key=value,...] along with the nicely expandable \getvariable{namespace}{key} that's the one i use in styles. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------