Hello, friends.
Today we discuss flat sequence problem.
So let's say I just go to the structures or here this is my flat sequence and I want to perform different
operations for a variable.
Let's say this is my input, a variable and I also have another variable B as you see over here.
I just put it over here.
So I want to first perform addition.
Let's say I just lock it.
I want to first perform addition
A plus B, it will give me a plus B.
And over here, this is my indicator.
Let's say after that, I want to add another frame.
And in that frame I want to perform another operation.
With this
variables, let's say I want to perform X minus Y.
And over here, this is my indicator.
Then I have another frame.
And this I want to perform different operation.
With this operators, let's say multiply.
Create control over here.
Not control.
I want to just create indicator over here.
Control you to minimize the space.
Let's say I want to perform another operation with the same input.
So over here, let's say I want to go with divide function next to it.
Y y.
And over here, this is my indicator.
So these are my four operations control.
You and I want to check what happen with this flat sequence.
And I also create delay of half second.
I just put inside this
delay in each and every frame.
So let's check what happened to the code.
So over here, this is my first operation.
This is my second operation.
This is my third operation.
And this is my fourth operation.
And I want to perform 12 and six.
So let's say run it.
So as you see, I got values after half of seconds.
Let's say I want to check for more delay.
So in the case of let's sequence first, frame, execute first, then second, then third, then so
on.
So let's say run it, as you see right now, let's just change the value.
1420 884 2.33.
So this is how we can perform different operations using flat sequence structure.
Thank you.