17 Feb
2005
17 Feb
'05
5:45 p.m.
Hello, could someone help me please with the following little macro? Every line in the table should be different, but all are as the last one. I've tried a lot with commands like \expanded{} or \expandafter etc, but without results... Perhaps the only solution is a temporary file? \newcount\MyVersion \def\MyMacro#1{% \getgparameters[XXX][#1] \global\advance\MyVersion by 1 \bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR } \starttext \bTABLE \bTR \bTD Version \eTD \bTD Date \eTD \eTR \MyMacro{Date=1.2.2005} \MyMacro{Date=3.4.2005} \MyMacro{Date=5.6.2005} \eTABLE \stoptext TIA for any hint! Cheers, Peter -- http://pmrb.free.fr/contact/