![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
14 Apr
2006
14 Apr
'06
10:37 a.m.
Hello, with the following test-file I expect the output: "Yes No" But the output is: "edef @@lycurrentstate{myTestbla}No edef @@lycurrentstate{myTestblub}No" Where does this come from, and how could I get it right please? \def\myMacro#1{\doifdefinedelse{myTest#1}{Yes}{No}} \def\myTestfile{\jobname-test.tmp} \def\myTestbla{just a test} \starttext \immediate\write18{echo \myMacro{bla} \myMacro{blub} >\myTestfile} \typefile{\myTestfile} \stoptext Greetings, Peter -- http://pmrb.free.fr/contact/