I've got some strange difficoulties with matching two external variables in a calc measure.
I have an external inc file with two variables in it:
Code: Select all
[Variables]
a=1
b=1
Code: Select all
[Variables]
@Include=..\@Resources\tmp.inc
run=0
ypos=0
[Substituter]
Measure=Calc
ifCondition=(#a# = 1)
ifTrueAction=[!SetVariable ypos 22]
ifCondition2=(#a# = 2)
ifTrueAction2=[!SetVariable ypos 47]
DynamicVariables=1
[Check]
Measure=Calc
ifCondition=(#a# > #b#)
ifTrueAction=[!SetVariable run 5]
DynamicVariables=1
[CountUp]
Measure=Calc
Formula=(CountUp + #run#)
ifAboveValue=25
ifAboveAction=[!SetVariable run 0]
DynamicVariables=1
My issue is this: In the [Substituter] section works fine, the "ypos" variable changing on refresh perfectly.
But the "run" variable didn't change. Not with Redraw, or Refresh.
I read over and over the code, but cannot have a clue what i did wrong!