Hi
Can you stop a for loop with a break; command or something like it?
D
Printable View
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 :)
Just fyi, there is also a continue keyword for you to play with. Write a loop with continue and see what happens.