Home Forums Macros Strange and random user variable behaviour Reply To: Strange and random user variable behaviour

#6250
Philippe OllivierPhilippe
Keymaster

Hi Daniel,
Here it is not a variable issue.

In any DoRepeat // While or RepeatWhile // EndRepeat loop, you need a sleep or waitDuration message like this :

DoRepeat
// Your code here
WaitDuration 30
While true

If you don’t put a sleep time, the loop will go so fast that it will freeze Logelloop and even in certain situation, Logelloop may crash…

Also regarding the variable error message issue, don’t forget to declare your variable in every macro that use it.

Philippe