Hi there, I'm trying to do some looping and having real trouble getting the loop to stop, I've used your example in the Control flow post but when executed the loop doesn't terminate.
I'm really not sure if the var is been initialised properly and was wondering what the format is for getting "write value to event log" would be I've tried myVar [myVar] & [{myVar}] {[myVar]} which has previously worked when I've used
Write [Blue] '[{CMDSEGMENT:1}]' to log
I've literally copied the example and after an hour of head scratching I thought I would just ask for some help.
Set small int (condition) [myVar] value to 0
Start Loop While : [myVar] Does Not Equal 5
Set small int (condition) [myVar] value as incremented by 1
Write [Blue] '[{myVar}]' to log
End Loop
Evaluate 'Not Set' as Zero
It should be writing just 5 lines with the number contained within 'myVar' instead it indefinitely writes [myVar] until i stop it