Now, you can see there is a hole here, what this hole represents is a number of sites, OK, but this
number of sites.
Is basically for this program and not this program, you get it very misused here will remain separate
and variables used here will remain separate.
OK, now we have created this program.
No, let's run it.
Let's see whether it works or not.
So we can see this program is not executing, so whenever we put a block here, it starts executing
this program, so this program has started executing, but there is some logical improvements that we
need to do in program, not this block to perform perfectly.
What needs to be done is all the variables that are used needs to be replaced with the variables of
this block.
For example, the said we have used, we have to remove this answer and we have to put a number of sites
because the number of sites value is coming from this program over here.
OK, not here.
Also the repeat loop.
Instead of answer, we have to put a number of sites.
OK, now this program is a standalone program because it has its own variables and it is not using any
variable from this program.
OK, not a free pass.
Say, for example, for.
Right.
And we run the program and say, for example, we want a polygon with six sites.
Now observe what it will draw.
It has drawn a square, an angle of rotation is an A.I. because we have positive value for it.
So whatever you give onto it will not matter because we have put the value S4 it is going to draw a
square.
Whether you write 10 or six or five, it does not matter.
No, let's change this to eight and run the program again.
Not if you can't afford it does not matter.
Whatever value it is going to draw an octagon.
OK, so this is how it works.
Whatever value you will pass here, that value will reflect here, that value will go here and that
value will be used here and used here.
So all the values will be a replication of this value.
Now, if you put the value of UNSERE here,
then the value fund will go into a number of sites and that number of sites will go here and here.
Now, if you run the program again and if you try to five.
So it will drop down.
So this is how a custom block works.
OK.
So this was all about this lecture soon the next one.
Thank you.