It does not proceed.
And check out the continue to control statements in case of Cartland.
And now let us proceed and check out Valdas the continued statement stands for.
And I suppose there does remove it.
There doesn't the word.
So our record is written in such a way that it will simply print the values from 1 to 10 right.
Now suppose I want to print the value 4 and then 6 I want to skip this 5 value.
That is I don't want to print the value of 5 in the output console.
So for that what we do is that here initially I would simply write a condition if I is equal to equal
to 5 then inside the body I would simply write continue.
Right.
So when the value of pi becomes 5 then simply continue which means that skip all the code right after
the if statement.
That is simply skip this part and then simply continue with the loop in the normal way.
So let us note in the chord.
So here in the output we have four and then six.
We have not printed five in the output.
And so all this is simply because the print in statement then becomes 5 is not exactly dead.
And now suppose you want to print all the order number so far that Vardi will do.
You will simply use i.e. modulus to equal to equal to zero then simply continue.
But I don't change the values.
So here in the output so we have all the order numbers printed.
So we have simply skipped out to 4 6 and 8 and also 10.
So all the numbers except the even numbers has been printed in the output console.
So this is how we make use of that.
And they use statements and also the breeks statements in case of Cartland.
It is totally the same as that of Java.
Now suppose I have two nested for loops.
Let me show you another example.
Such as.
So here I have two nested for loops one loop within another.
Now here let me reduce the range to 1 to 3.
And again one two three.
And now let us use the concept of in the position to print a value of.
Let's say I spays dollar G.
And now let us trend the chord and see the output.
So in output.
So we have 1 1 1 2 1 3.
So on 3:3 right like we saw in the previous video.
Now suppose if I use the if condition here.
Let's see if condition let's say eight is equal to equal to and G is equal to equal to two then simply
continue.
And now there discard this print statement from here.
Control X and pasted right after the if condition.
Right.
And now let us read the code and see what impact it holds in the output console.
So in the output we have 1 1 1 2 1 3 2 1.
And soon after that I have two three.
We have simply skipped due to the output console.
Now suppose I want to skip this two or three as well.
So far that what I really do is I would simply use the leave word for loop.
Now I would simply define a name for my outer for loop which is actually used or.
So outer space.
Now this for loop is actually known as the outer.
We have simply given the name for our outer for loop.
So here are they we do.
I would simply use our direct outbuild.
So continue the outer loop.
Right now Vivier are doing this just because this continues statement is Bideford applicable for the
nearest for loop within which it is present.
Now in order to continue looping for the output for a loop we have to tell this continuous statement
that you have to use your property for the output for loop.
So that is why we are using the outer label here.
Right.
And now let us read the code and let's see what happens.
So in the output we have to win and after two when we have straight away to you.
So we have simply applied the continuous statement for the outer for loop.
Now remember this outer keyword is actually user defined.
You can name it.
Let's see.
Let's see my loop and also use my loop here and now it will work perfectly OK.
So this was all about the current day new statements.
In case of Cartland.