1.) Open Editor, place a unit if you like.
2.) Open Debug-console by Ctrl+D
3.) Enter Code:
counter=0; denominator="string"; {counter=counter+1} forEach [firsttime, secondtime, thirdtime]; {denominator="text"} forEach [firsttime, secondtime, thirdtime]; {_x="string"} forEach [var1, var2]
4.) In the 'watch-area' fill in the variables, that shall be watched, namely:
counter
denominator
var1
var2
5.) Click on 'LOCAL EXEC'.
6.) Check watched variables. 'var1' and 'var2' didn't get a value.
--
Advanced:
1.) Change the code from:
{_x="string"} forEach [var1, var2]
to:
{_x=100} forEach [var1, var2]
and click on 'LOCAL EXEC'.
2.) Change the code to:
{_x=false} forEach [var1, var2]
and click on 'LOCAL EXEC'.