I want to break the while loop and start it again on slide entrance.
Hello Captivate users,
I encountered a little problem and decided to put it up for a discussion. Maybe someone will come up with a solution.
I created a while loop with changing pictures. A few pictures appear for one second and disappear. It works fine, until I jump to another slide and return to the “looped” one. It seems that the loop is still running. I mean the cycle doesn’t start from the beginning, which is the desired effect in my case, but somewhere from the middle. I was looking for something like a ‘break’ command in programming languages, which could be applied on slide exit, but it seems there’s no such option.
Any ideas what the problem might be ?
There is no Break command. You can create a limited While instead of a perpetual loo, using a variable with a maximum or a minimum and the Increment, Decrement command in the sequence of commands. Most of the use cases with While on my blog are not perpetual.
You must be logged in to post a comment.