1 00:00:01,420 --> 00:00:06,940 Heidi's a shooting star once again welcome to the next video of the series of Cartland programming. 2 00:00:06,940 --> 00:00:12,190 Now in this video will we talk about vort oranges in case of Cartland. 3 00:00:12,250 --> 00:00:19,840 Now in case of Cartland we have some concept related to a range of values or a range of characters as 4 00:00:19,840 --> 00:00:27,520 for example here I've simply defined value to an equal or two when then followed by Dr. Prader daughter 5 00:00:27,520 --> 00:00:28,810 pre-code 5. 6 00:00:28,840 --> 00:00:30,380 Now this is actually newness. 7 00:00:30,410 --> 00:00:33,270 There were Dorte operator in Cartland. 8 00:00:33,430 --> 00:00:40,570 If you define the word dark five then this Arverne variable will simply contain the range of values 9 00:00:40,660 --> 00:00:44,650 such as 1 2 3 4 and 5. 10 00:00:44,920 --> 00:00:50,070 And these are the sequence in which the values has been stored inside the value of. 11 00:00:50,170 --> 00:00:50,680 Right. 12 00:00:50,890 --> 00:00:53,970 Now suppose I've earned a value in descending order. 13 00:00:54,130 --> 00:00:56,680 So far that we have this example. 14 00:00:56,710 --> 00:01:02,140 So here you can naughties value are two equal to 5 down to 1. 15 00:01:02,140 --> 00:01:08,590 So in this case we have the range of values in their descending order such as 5 four three two one like 16 00:01:08,590 --> 00:01:09,450 this. 17 00:01:09,460 --> 00:01:14,950 Now here you can also have 50 down to let's say 10 or 1. 18 00:01:15,040 --> 00:01:20,330 Then in that case we will have 50 49 47 46 and so on. 19 00:01:20,360 --> 00:01:22,080 They'll very each win. 20 00:01:22,390 --> 00:01:29,200 And now suppose I have the values from 5 to 1 but I don't want this for a value and to value. 21 00:01:29,320 --> 00:01:36,260 So far that we have another example such as five down to 1 in the step of two. 22 00:01:36,280 --> 00:01:44,850 So when we start counting from five to one they really count like this five then then three then then. 23 00:01:44,880 --> 00:01:51,180 So we're actually moving towards one in the step of two that is we're actually skipping every ordinary 24 00:01:51,210 --> 00:01:54,640 value from five to one like this. 25 00:01:54,660 --> 00:01:55,690 Now instead of two. 26 00:01:55,710 --> 00:01:58,830 You can also have three for like this. 27 00:01:58,830 --> 00:01:59,310 Fine. 28 00:01:59,370 --> 00:02:01,860 So in that case the steps will change. 29 00:02:01,890 --> 00:02:10,350 Now in the first case Cephalus I've undervalues such as 1 3 and 5 that is every ordinal value in the 30 00:02:10,350 --> 00:02:14,790 ascending order will be squibbed similar to the key is that we have seen here. 31 00:02:14,820 --> 00:02:20,440 So in that case you just need to write SCDP SPEEs legacy too. 32 00:02:20,610 --> 00:02:25,680 So in that case this do and this 4 will not exist inside this value. 33 00:02:25,720 --> 00:02:26,290 Right. 34 00:02:26,640 --> 00:02:33,650 And now apart from integer values you can also have the range defined for the characters such as Val 35 00:02:33,850 --> 00:02:40,400 are four equal or two legacy from the alphabet A dot dot to alphabet zigged. 36 00:02:40,440 --> 00:02:47,390 So in this case we have the odd food value defined as a b c d e f Dell zayd. 37 00:02:47,460 --> 00:02:47,960 Right. 38 00:02:48,090 --> 00:02:53,080 So the whole alphabet has been defined in just one variable of our food. 39 00:02:53,400 --> 00:03:00,750 And now apart from this string characters you can also have the character alphabets such as within the 40 00:03:00,760 --> 00:03:01,750 single chords. 41 00:03:01,780 --> 00:03:04,440 Right now these are all about the ranges. 42 00:03:04,440 --> 00:03:07,560 Now suppose you want to test this R4. 43 00:03:07,680 --> 00:03:12,250 Suppose you want to check if the C character is actually present inside. 44 00:03:12,370 --> 00:03:13,510 Or foot or not. 45 00:03:13,650 --> 00:03:22,370 So far that simply defined VAD is present such as a variable name equal to leg C A. 46 00:03:22,500 --> 00:03:31,480 With the help of an operator we can simply check if it is actually present inside the odd foot or not. 47 00:03:31,590 --> 00:03:37,090 Or if he wanted to check if the character to see is actually present inside the odd full range or not 48 00:03:37,570 --> 00:03:41,440 so it's present is simply good the value of either true or false. 49 00:03:41,620 --> 00:03:48,400 But in this case it will get the value of true because C is actually present inside this range and in 50 00:03:48,400 --> 00:03:55,300 a similar way you can use the NGI word for these range as well right to test if the number is present 51 00:03:55,360 --> 00:03:57,600 inside these ranges or not. 52 00:03:57,910 --> 00:04:04,730 And now apart from this you can also have the ranges such as that are. 53 00:04:05,000 --> 00:04:05,790 Let's see. 54 00:04:05,830 --> 00:04:08,900 Count down equals 2. 55 00:04:09,070 --> 00:04:14,770 If you want to count down from 10 Dorte down to let's say when. 56 00:04:14,800 --> 00:04:20,710 So in this case this going down is actually the range of values where we are counting down from 10 to 57 00:04:20,830 --> 00:04:26,390 1 so it will simply contain all your values from end to and right like this. 58 00:04:26,410 --> 00:04:33,230 Ten nine eight seven six five four three two win and now to have the value in sending ascending that 59 00:04:33,430 --> 00:04:40,410 you can simply replaced by Lerche see Prange to a synergistic example as well. 60 00:04:41,450 --> 00:04:47,180 So here this range to mentor simply increments of value from one to three four. 61 00:04:47,440 --> 00:04:55,190 Then right like we have been here range to slow down to and range to actually oppose it to each other. 62 00:04:55,280 --> 00:04:59,850 And now this one is actually comparable to let's see this one. 63 00:04:59,960 --> 00:05:00,690 Right. 64 00:05:01,100 --> 00:05:09,960 And similarly this R2 range is actually comparable to let's say this gone down fine and now the question 65 00:05:10,020 --> 00:05:10,710 arises. 66 00:05:10,740 --> 00:05:17,400 Vivier actually learning the ranges in Cartland just because these range of values are actually helpful 67 00:05:17,770 --> 00:05:19,690 by learning the loops in Cartland. 68 00:05:19,860 --> 00:05:25,620 So we're going to use this ranges concept in our upcoming more deals then we're going to learn about 69 00:05:25,800 --> 00:05:27,080 loops in Cartland. 70 00:05:27,300 --> 00:05:30,180 So dark excited for this video gets you in the next video. 71 00:05:30,180 --> 00:05:30,720 Thank you.