I created the following code snippet:
[myTest | myTest]
$(AttributesStart)
EnableMakros=true
$(AttributesEnd)
$Param(test1,Sync=1)
$Param(test2,Sync=2)
$Param(test1,Sync=1)
$Param(test2,Sync=2)
When I use myTest, it automatically generates:
test1
test1
test2
test2
And when I modify test1 or test2, the corresponding instances update synchronously.
However, if I change the template to:
[myTest | myTest]
$(AttributesStart)
EnableMakros=true
$(AttributesEnd)
$Param(test1,Sync=1)
$Param(test1,Sync=1)
$Param(test2,Sync=2)
$Param(test2,Sync=2)
Using myTest now generates:
test1
test1
test1
test1
Why is this happening?