Hello, how could I save the cell of a table in a macro? I tried the following, but it does not work: \starttext \def\StartScanning#1\StopScanning{\def\MyValue{#1}} \starttable[|b{\StartScanning}la{\StopScanning}|l|] \NC 123 \NC 456 \NC\AR \stoptable Test: \MyValue \stoptext TIA for any help, Peter -- http://pmrb.free.fr/contact/
� wrote:
Hello, how could I save the cell of a table in a macro? I tried the following, but it does not work:
\starttext
\def\StartScanning#1\StopScanning{\def\MyValue{#1}}
\starttable[|b{\StartScanning}la{\StopScanning}|l|] \NC 123 \NC 456 \NC\AR \stoptable
Test: \MyValue
\stoptext
TIA for any help, Peter
teh a/b keys are too tricky for this (preamble mess), so maybe do something: \starttext \def\GC#1 {#1\gdef\MyValue{#1}} \starttable[|l|l|] \GC 123 \NC 456 \NC\AR \stoptable Test: \MyValue \stoptext
participants (2)
-
Hans Hagen Test
-
Peter Münster