There are many solutions to do this, but which solution helps to optimize the source code is important. Please clarify the purpose, explain more clearly
Need Help on Breaking the loop
-
When using break, it will immediately exit the current loop and continue performing the action immediately after the loop.
I don't understand why it doesn't work for you.
Maybe you want it to do something else? -
@Melinda Hi. I'm asking because I understand that if I use the break function inside the "For" function, it will break the loop. But this one doesn't work.
