On 13-2-2010 11:45, Peter Münster wrote:
\setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test]
Just click \goto{here}[JS(Walk_Field{test})] to walk through the fieldstack! \goto{(restart)}[JS(Set_Field{test, 1})] \stoptext
\def\dodefinefieldstack[#1][#2][#3]% name, symbols, settings {\ifcsname fieldstack:#1\endcsname \else \setgvalue{fieldstack:#1}{\dodofieldstack[#1][#2][#3]}% \fi} \else missing ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------