[dev-context] Storing and retrieving two-pass data

Marco netuse at lavabit.com
Fri Apr 20 17:30:56 CEST 2012

On 2012-04-19 Wolfgang Schuster <schuster.wolfgang at googlemail.com> wrote:

Hi Wolfgang,

thanks for  the answer. In the first place I also  came up  with a
similar solution  to yours. But  that's what I meant  by ”manually
counting” and  wanted to avoid.  Apparently I missed  the obvious,
there is no special magic needed:

% doesn't seem to be necessary
% \definedataset [test]

\setdataset [test] [foo] [foo=first]
\setdataset [test] [foo] [foo=second]

\setdataset [test] [bar] [bar=first]
\setdataset [test] [bar] [bar=second]
\setdataset [test] [bar] [bar=third]

	foo is: \datasetvariable{test}{foo}{foo}\crlf
	bar is: \datasetvariable{test}{bar}{bar}


Have a nice weekend

Marco Patzer

More information about the dev-context mailing list