![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
3 May
2012
3 May
'12
11:01 a.m.
Hi, the system parameter 'n' is not properly set on the third run. % test.tex \starttext \ifnum\systemparameter{n}=1\relax \ctxlua{print("*** 1st run")}\fi \ifnum\systemparameter{n}=2\relax \ctxlua{print("*** 2nd run")}\fi \ifnum\systemparameter{n}=3\relax \ctxlua{print("*** 3rd run")}\fi \stoptext % ------------ A fresh run (three runs) gives *** 1st run *** 2nd run *** 2nd run Peter