1 00:00:13,570 --> 00:00:20,050 Well, before going to the Advanced Bar, I decided to create an additional lecture to show the live 2 00:00:20,050 --> 00:00:24,160 example for why Loop's BASIX. 3 00:00:24,340 --> 00:00:29,640 So we're just going to see the example that we have seen in the previous lecture in life called. 4 00:00:29,680 --> 00:00:29,940 Right. 5 00:00:30,370 --> 00:00:32,200 So first of all, just create. 6 00:00:34,090 --> 00:00:38,280 So, first of all, let's create a number, which will be our counter. 7 00:00:38,300 --> 00:00:39,820 Let's set it to be zero. 8 00:00:40,180 --> 00:00:42,910 And right now, let's wait a while loop. 9 00:00:43,120 --> 00:00:49,840 And in the while loop, we'll set a condition, as we had before, number smaller than ten and right 10 00:00:49,840 --> 00:00:50,300 here. 11 00:00:50,560 --> 00:00:57,130 I also want to print out behind the counter because we going to see it on each iteration grow by one. 12 00:00:57,310 --> 00:00:59,130 And I just want to want you to see it. 13 00:00:59,140 --> 00:00:59,510 All right. 14 00:01:00,040 --> 00:01:04,120 So let's add no right here and at the end. 15 00:01:04,330 --> 00:01:04,870 All right. 16 00:01:05,110 --> 00:01:12,190 At the end at Sprint, let's do a number plus equals one, as we already said, is the same thing as 17 00:01:12,190 --> 00:01:12,650 this thing. 18 00:01:13,900 --> 00:01:19,990 So each time each time the wireless will run, the number will grow by one. 19 00:01:20,050 --> 00:01:20,460 All right. 20 00:01:21,220 --> 00:01:23,410 And let's run the scroll right here. 21 00:01:25,820 --> 00:01:34,870 All right, and we have nothing running down here because we need to change the sign smaller, OK, 22 00:01:34,940 --> 00:01:36,800 because this statement is going to be true. 23 00:01:37,040 --> 00:01:39,350 And what we have a second ago was false. 24 00:01:40,140 --> 00:01:40,970 Let's run it. 25 00:01:41,690 --> 00:01:42,290 All right. 26 00:01:42,590 --> 00:01:43,450 So there you go. 27 00:01:43,460 --> 00:01:50,300 You see that in each iteration, starting from zero, the counter number grew by one up until it got 28 00:01:50,300 --> 00:01:50,960 to nine. 29 00:01:51,110 --> 00:01:58,220 And then in the last time, once we go up here, we had no smaller than 10, which was 10, smaller 30 00:01:58,220 --> 00:01:58,720 than 10. 31 00:01:58,730 --> 00:01:59,710 And this is false. 32 00:02:00,020 --> 00:02:05,150 So it did not run the code under the wire anymore and it exited the wire. 33 00:02:05,840 --> 00:02:12,200 So this was a short example regarding the previous lecture's theory, suing the next advanced part of 34 00:02:12,200 --> 00:02:13,250 Wallops Video.