1
00:00:01,580 --> 00:00:08,490
The case construct is basically not a loop since there is no iteration to the block of code.

2
00:00:08,690 --> 00:00:16,890
But anyway degassed construct directs program flow according to condition at the top of that construct.

3
00:00:17,060 --> 00:00:26,180
So it looks like we are starting with a keyboard case followed by some variable and then followed by

4
00:00:26,230 --> 00:00:31,540
keyword in you know that variable value is not fixed.

5
00:00:31,550 --> 00:00:33,320
It can change.

6
00:00:33,390 --> 00:00:39,220
And here we are asking if a value of variable var is equal to some value.

7
00:00:39,480 --> 00:00:47,810
If not we are skipping to another part of code where we are again asking is this value a variable we

8
00:00:47,810 --> 00:00:49,880
are equal to this value.

9
00:00:50,340 --> 00:00:54,740
If yes then this block of code is performed.

10
00:00:54,810 --> 00:01:02,160
Please note that the block of code is ended by double semicolon and that values which we are comparing

11
00:01:02,160 --> 00:01:03,460
the two variable.

12
00:01:03,510 --> 00:01:08,090
In our case of a variable called Vihar are ending with derived.

13
00:01:08,100 --> 00:01:18,090
Byron if in are ok's the value of variable var is not equal to value of condition 1 or condition 2.

14
00:01:18,380 --> 00:01:28,690
Then the block of commands are represented by asterisk is therefore all CASE construct is then closed

15
00:01:28,690 --> 00:01:32,440
using Issaq we've got to understand.

16
00:01:32,440 --> 00:01:34,320
CASE construct better.

17
00:01:34,360 --> 00:01:39,810
I will show some simple example here we are testing the value of command.

18
00:01:39,850 --> 00:01:46,120
When my IF output of my is the road then we will print.

19
00:01:46,150 --> 00:01:47,490
You are wrong.

20
00:01:48,190 --> 00:01:54,490
If output of who am I is Richard then we will print you out Richard.

21
00:01:54,970 --> 00:02:01,430
If output of my is not rude or Richard will print I don't know.

22
00:02:02,210 --> 00:02:04,340
OK that was some short summary.

23
00:02:04,370 --> 00:02:06,280
To case construct.

24
00:02:06,280 --> 00:02:08,790
Now let's write some script to practice it.
