Hi
Can you stop a for loop with a break; command or something like it?
D
Hi
Can you stop a for loop with a break; command or something like it?
D
Write a silly for loop with a break in it and see.
that would be... a yes
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
Just fyi, there is also a continue keyword for you to play with. Write a loop with continue and see what happens.