Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,140 --> 00:00:02,160
Hello and welcome.
2
00:00:02,370 --> 00:00:08,890
Today, we go with next level, we see actions inside, we see for ourselves.
3
00:00:09,860 --> 00:00:18,570
Today we have the basic elements in sight see program that we can make inside our screens.
4
00:00:19,230 --> 00:00:26,910
So we have that preprocessor directives, comments, declarations and instructions.
5
00:00:27,990 --> 00:00:31,620
Let's go to first preprocessor directives.
6
00:00:32,400 --> 00:00:37,470
We can include some programs, haber's and symbolic definitions.
7
00:00:38,690 --> 00:00:50,120
These lines are invoked by the computer before any compilation of our scripts so we can include something
8
00:00:50,120 --> 00:00:51,530
or define some.
9
00:00:52,840 --> 00:01:02,380
Static elements, for example, the age then, and we can use this age in our script, in robotic scripts
10
00:01:02,980 --> 00:01:16,390
any time we want, we can include our zone there as the idea that age, it's special, fine with more
11
00:01:16,390 --> 00:01:25,510
scripts, more definitions of our functions, and we can include this into our script so we can use
12
00:01:25,510 --> 00:01:33,160
this preprocessor directives to make our functions ready to use, for example, the math.
13
00:01:34,230 --> 00:01:45,210
Options or the fine options, and we have a lot of leaders that we can use inside our scripts, if you
14
00:01:45,210 --> 00:01:54,600
need to make some examples of this, including and define something, you can make this in see actions.
15
00:01:55,380 --> 00:01:59,130
We will make this in next weeks.
16
00:01:59,730 --> 00:02:01,350
Until now, we go with.
17
00:02:02,870 --> 00:02:06,920
Interview about the sea options the next.
18
00:02:07,890 --> 00:02:12,860
We can make in see actions and we see in the comments.
19
00:02:13,660 --> 00:02:22,710
OK, so sometimes we need to comment something inside our script and we have some solutions to make
20
00:02:22,710 --> 00:02:23,010
this.
21
00:02:23,580 --> 00:02:33,210
We can use the slash star, make some comments like, hello, I'm comment and we can finish this with
22
00:02:33,210 --> 00:02:40,050
the star and slash again so we can have that part of the comments.
23
00:02:40,590 --> 00:02:46,830
And we have, for example, three or four lines with that comment.
24
00:02:47,490 --> 00:02:54,020
And we can also use the double slash to make that line one line comment.
25
00:02:54,030 --> 00:02:59,010
So you have the below eye and the comments, too, so you can use this.
26
00:03:00,030 --> 00:03:10,500
In our script, the next we can use the declarations, of course, we can declare some very, very variables
27
00:03:10,920 --> 00:03:16,740
and we can declare some without strings or some other things.
28
00:03:17,400 --> 00:03:25,230
Anyway, in declarations inside our scripts, we use, for example, that in my integer and we need
29
00:03:25,230 --> 00:03:29,580
to use the semicolon on the last part.
30
00:03:29,730 --> 00:03:35,310
And for example, the next example is the float, for example, Ansible.
31
00:03:35,640 --> 00:03:38,850
And we need to finish with that semicolon.
32
00:03:40,230 --> 00:03:45,530
The last is the instructions inside our instructions.
33
00:03:45,540 --> 00:03:52,510
We need to use that specific structure for our compiler copywriter.
34
00:03:53,580 --> 00:04:04,330
This copywriter needs to have this practice and this Brackett's needs to use inside our functions.
35
00:04:04,680 --> 00:04:16,850
So if you use, for example, if we need to use a lot of records and we can't miss any of this bracket.
36
00:04:17,040 --> 00:04:29,010
So take your time and check every packet in your script because completer want all of you to use this
37
00:04:29,010 --> 00:04:31,140
script if you have some errors.
38
00:04:31,650 --> 00:04:37,930
Every line we use in our instructions, we need to finish with semicolon.
39
00:04:38,100 --> 00:04:41,130
It's important for the sea actions.
40
00:04:41,460 --> 00:04:43,440
And when you see.
41
00:04:44,880 --> 00:04:46,750
Later, use this also.
42
00:04:46,890 --> 00:04:49,110
So we need to remember about this.
43
00:04:52,070 --> 00:05:02,540
Here we have the small example about that, we see action script, how it's look and where we have the.
44
00:05:03,980 --> 00:05:13,220
Elements inside our scripts, so we have the preprocessor directives as as we see we have that include
45
00:05:13,610 --> 00:05:17,450
our AP, therefore the age.
46
00:05:18,170 --> 00:05:21,250
So we include some librarian.
47
00:05:21,320 --> 00:05:27,670
We need to use if you want to use the void, function unclick.
48
00:05:27,980 --> 00:05:33,830
So this is their normal function for click on the bottom.
49
00:05:35,140 --> 00:05:40,390
When see automatically, including this app that the.
50
00:05:42,550 --> 00:05:50,830
We see automatically, including this hitting fire and we don't need to remember about this, if you
51
00:05:50,830 --> 00:05:59,650
want to use, for example, the math functions, we need to use that include math, not age, so we
52
00:05:59,650 --> 00:06:10,120
can make some multiplication or some more obscure thing called we see the variables, options and we
53
00:06:10,120 --> 00:06:12,580
see, for example, the end my integer.
54
00:06:12,880 --> 00:06:17,260
And it's finished with semicolon below.
55
00:06:17,260 --> 00:06:24,660
We see, for example, the flawed transfer variables is one dot zero nine.
56
00:06:25,150 --> 00:06:33,620
And again, with the semicolon and the last position, the next, we see the use of the comment.
57
00:06:34,240 --> 00:06:35,820
Hi, I'm comment here.
58
00:06:36,280 --> 00:06:37,900
So we see the line.
59
00:06:38,200 --> 00:06:41,560
It's commented inside our script.
60
00:06:41,800 --> 00:06:50,350
And we can say, for example, to our colleague from the department, hey, don't use this function
61
00:06:50,350 --> 00:06:51,490
because it's broken.
62
00:06:51,490 --> 00:07:00,220
We need to fix this so we can say someone who opened the script don't use this until, for example,
63
00:07:00,220 --> 00:07:13,690
or we can say I made the changes today inbounded two p.m. and everyone know that this guy changed this
64
00:07:13,810 --> 00:07:14,470
functions.
65
00:07:14,890 --> 00:07:19,660
It's important to make the comments inside our functions and our scripts.
66
00:07:21,030 --> 00:07:31,560
The last we see that small program, we see that if US functions, so we see that if our answer is greater
67
00:07:31,560 --> 00:07:36,840
than two, we can print some lines.
68
00:07:37,740 --> 00:07:45,150
And if this answer is not greater, we can print on the one line.
69
00:07:46,730 --> 00:07:54,660
Let's make a challenge, make the script in your Schoenaerts system and make my comments, which aren't
70
00:07:54,680 --> 00:07:59,510
always good, the first with three lines or only one line.
71
00:08:03,840 --> 00:08:11,460
If you have any questions about these topics, of course, you can leave me the comments I will answer
72
00:08:11,460 --> 00:08:11,940
for you.
73
00:08:14,260 --> 00:08:23,200
I used for this the sources, the demons from the book, the C programming language, and of course,
74
00:08:23,200 --> 00:08:26,530
I'm Lucas from my our dot com.
75
00:08:27,160 --> 00:08:34,810
Don't hesitate to subscribe for this channel and see you next week by.
7741
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.