I have trouble understanding the mechanics of external variables (in external .inc file).
So i have an external .inc file with four digit named variables, like "0911" <- this is a combination of month numbers (09) and day numbers (11).
Every variable has words as values.
Like:
.inc file
Code: Select all
[Variables]
0000=nothing
.
.
.
0911=something
.ini file
Code: Select all
[Variables]
TempVar=#0000#
[MeasureMonth]
Measure=Time
Format=%m
OnUpdateAction=[!UpdateMeasure MeasureDay]
DynamicVariables=1
UpdateDivider=-1
[MeasureDay]
Measure=Time
Format=%d
OnUpdateAction=[!SetVariable TempVar "[$MeasureMonth[$MeasureDay]]"]
DynamicVariables=1
UpdateDivider=-1
[StringMeasure]
Measure=String
String=#TempVar#
IfMatch=something
IfMatchAction=[!Log "got one"]
DynamicVariables=1
UpdateDivider=-1
But the #TempVar# keeps returning only with the four numbers.
Also have tried this: [!SetVariable TempVar "#[$MeasureMonth[$MeasureDay]]#"] to make the variable #0911#, but the String measure is like "#0911#, but not grabbing the word from the ext file.
Thanks for the helps in advance!!