Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:10,920 --> 00:00:17,880
Everyone and welcome in this new video in this video, we're all going to talk about how to create a
2
00:00:17,880 --> 00:00:28,140
global fireball in a function, because in the last video, we have seen that all of the viable in the
3
00:00:28,140 --> 00:00:37,670
function are local, viable and all viable outside the function of global variable.
4
00:00:37,710 --> 00:00:44,610
But sometimes you want to walk with global available in a function.
5
00:00:45,270 --> 00:00:49,560
So let me just show you first.
6
00:00:53,790 --> 00:01:02,030
So I create a function and I create a variable.
7
00:01:07,180 --> 00:01:07,660
Then.
8
00:01:12,690 --> 00:01:15,390
I lunch the function.
9
00:01:17,380 --> 00:01:31,510
And I want to print the variable variable, but no, I cannot do it because variable you.
10
00:01:33,640 --> 00:01:42,070
A local variable, if I want to create a global problem, I just need to use the global operator.
11
00:01:42,400 --> 00:01:55,060
So global variable and now or viable variable is a global event, so I can call it outside the function.
12
00:01:55,420 --> 00:02:08,200
So is not a thing that I use all the day, but in some situation is very interesting to know it.
1288
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.