Hi Klaus, congratulations on the new version.
I have to report a problem between version 1.21 and the new version 1.22.
Using exactly the same code, there is a completely different behavior in a conditional code execution (if...).
I take a variable ("mytag") and compare it with the value of another variable passed by an argument. in version 1.22 the "if" condition is not executed, while in version 1.21 it works correctly.
To test the different behavior, click on the two icons on the right to activate or deactivate the colored icons on the map.
Code
for(set(i,1), i LT 21, inc(i),
if(hotspot[calc('spot_' + get(i))].mytag == get(var1),
switch(hotspot[calc('spot_' + get(i))].visible);
);
);
Below I have attached both projects with both versions.
Link Projects:
Version 1.21 (works correctly)
Version 1.22
Please, where is the problem...???
Marco