1 00:00:00,500 --> 00:00:08,660 Hello and welcome to another lesson in this lesson, we are going to take a look at Grigny for the instructions, 2 00:00:08,660 --> 00:00:14,510 for Kimie for a simple one to extend beyond 30 days. 3 00:00:15,380 --> 00:00:19,860 Number two in your screen also extended beyond 30 days. 4 00:00:20,450 --> 00:00:22,550 So this is what he looks like. 5 00:00:23,000 --> 00:00:26,400 You're supposed to extend this beyond 30 days. 6 00:00:26,420 --> 00:00:30,800 Presently, he's showing you the limitation of 11 days this. 7 00:00:31,610 --> 00:00:36,980 So going down the correct me for and put it in the Kami folder. 8 00:00:38,090 --> 00:00:38,880 So let's run it. 9 00:00:39,830 --> 00:00:47,360 So when I run it, I get to this track period remaining, I click on the but I also get something childish 10 00:00:47,620 --> 00:00:48,080 remaining. 11 00:00:48,680 --> 00:00:51,800 So let's go and analyze this the other. 12 00:00:54,280 --> 00:00:56,380 So I think he the new. 13 00:00:57,390 --> 00:00:59,760 And I hope and correct me for. 14 00:01:02,390 --> 00:01:02,870 OK. 15 00:01:04,840 --> 00:01:05,800 Here on. 16 00:01:10,460 --> 00:01:12,210 So now let's go to the entry point. 17 00:01:13,750 --> 00:01:19,730 You will notice all the usual preliminary court here as the full. 18 00:01:22,280 --> 00:01:23,110 Gut check. 19 00:01:26,180 --> 00:01:35,260 Here you have your bicycle and here you have several integer pushed and instant followed by a car. 20 00:01:35,860 --> 00:01:38,800 So this is the entry point to double click on this Tuesday. 21 00:01:41,290 --> 00:01:43,440 So this is your main entry point? 22 00:01:43,450 --> 00:01:44,920 The main function. 23 00:01:45,430 --> 00:01:48,120 And the first part is to create dialogue. 24 00:01:48,760 --> 00:01:52,060 And these are the parameters to this API. 25 00:01:52,300 --> 00:01:59,070 And the purpose of this is to create the data that I wish you see when you click on this. 26 00:01:59,890 --> 00:02:01,020 This is the data. 27 00:02:03,600 --> 00:02:11,710 Then below here shows he shows the window and now this is something new, he gets a local time and then 28 00:02:11,820 --> 00:02:16,140 this is the parameter that is going to save the local time in. 29 00:02:17,220 --> 00:02:22,330 And then over here, he expects to be in saving to here. 30 00:02:23,340 --> 00:02:32,770 So the local time is one of the EPA and local time stores in this structure, Alpay system time and 31 00:02:32,770 --> 00:02:34,640 system time here. 32 00:02:34,950 --> 00:02:42,260 One of the members of this structure is the day that means a one, two, three, up to 30. 33 00:02:43,260 --> 00:02:45,480 So it starts the day. 34 00:02:46,170 --> 00:02:50,670 And then over here it moves this value into it. 35 00:02:50,970 --> 00:02:58,350 So we can practice these regularities and see that it is 30 so we can convert it to decimal. 36 00:02:59,770 --> 00:03:09,550 And then here he takes the day of the month minus 30, so and the result is that he thinks, again, 37 00:03:10,420 --> 00:03:16,740 this is a meaningless issue to subtract from X, and the result is yes. 38 00:03:17,500 --> 00:03:23,620 And then he says stop now in a global variable that he said contains the number of days remaining. 39 00:03:24,850 --> 00:03:28,690 So he started in this global variable at this address. 40 00:03:28,690 --> 00:03:35,440 So if it takes you to the data session and you can see that it is a global variable, anything in the 41 00:03:35,440 --> 00:03:38,740 data section is a global variable here on this. 42 00:03:40,960 --> 00:03:44,380 And then here it tells you exactly zero. 43 00:03:45,010 --> 00:03:52,180 If zero means you finish your your top unit and then here is going to test whether it's greater than 44 00:03:52,180 --> 00:03:52,600 zero. 45 00:03:53,170 --> 00:03:54,340 It was greater than zero. 46 00:03:54,350 --> 00:03:56,200 That means you still have Trappy remaining. 47 00:03:56,500 --> 00:04:04,780 So you jump here and show you the no child remaining using a statement which says all this parameter, 48 00:04:05,230 --> 00:04:11,930 one of which is the number of days remaining and presumably the number of days remaining will be subsidies 49 00:04:12,040 --> 00:04:13,630 in the form specified here. 50 00:04:14,780 --> 00:04:17,840 Again, will be printed to a string. 51 00:04:18,800 --> 00:04:27,740 So the important thing here is, despite you've said it's a big number, then you have your very big 52 00:04:27,740 --> 00:04:28,730 drop in remaining. 53 00:04:29,480 --> 00:04:31,600 So here is moving 30. 54 00:04:32,360 --> 00:04:38,630 So what you want to do is come to a very big number, probably two, five, five, 10, to be able to 55 00:04:38,870 --> 00:04:40,440 exceed 30 days remaining. 56 00:04:41,630 --> 00:04:45,980 So let's congeries now you are converted back to hexes one. 57 00:04:45,980 --> 00:04:48,500 Each one is four three zero. 58 00:04:49,360 --> 00:04:52,190 I need to change this to two five five. 59 00:04:52,190 --> 00:05:02,210 Ikenberry, I put f ffe is two hundred fifty five in decimal so I can do that by going to edit here 60 00:05:02,680 --> 00:05:04,070 in the page program. 61 00:05:04,220 --> 00:05:04,860 Change by. 62 00:05:06,230 --> 00:05:14,080 So now from here you can see the one e referring to this, the three zero. 63 00:05:14,120 --> 00:05:15,620 So I want to change it to five. 64 00:05:15,720 --> 00:05:17,690 I, I, I need to do this. 65 00:05:17,690 --> 00:05:22,440 Just changes to f then I get to amplify this quickly. 66 00:05:22,530 --> 00:05:25,690 OK, so now it's twenty five. 67 00:05:26,180 --> 00:05:34,800 So when it comes down here he's going to take your day minus your 250 and definitely you'll be more 68 00:05:34,800 --> 00:05:36,400 than 220 days remaining. 69 00:05:37,250 --> 00:05:43,880 OK, so we can now Pescadero to go to 80, come down to program here. 70 00:05:43,880 --> 00:05:46,670 You can apply pettiest to include for. 71 00:05:47,670 --> 00:05:52,630 So profile here and click on Check Uncreate back up, OK? 72 00:05:54,280 --> 00:05:57,280 Permission denied because we are running so close this. 73 00:05:59,330 --> 00:06:00,000 OK, again. 74 00:06:01,230 --> 00:06:01,840 All right. 75 00:06:01,860 --> 00:06:02,440 Yes. 76 00:06:03,000 --> 00:06:09,870 All right, so now you going to see the bling on Craney four and you see if two hundred thirty seven 77 00:06:09,870 --> 00:06:15,610 days remaining and you click on the button button and you get to introduce yourself in this remaining. 78 00:06:16,020 --> 00:06:16,380 All right. 79 00:06:16,380 --> 00:06:19,310 So we're active on the Craney. 80 00:06:20,640 --> 00:06:22,410 That's all for this video. 81 00:06:22,860 --> 00:06:24,210 Thank you for watching.