[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:22.64,0:00:25.50,Default,,0000,0000,0000,,This lesson is called variables in envelopes. Dialogue: 0,0:00:26.00,0:00:29.62,Default,,0000,0000,0000,,We're going to learn how we can build sentences when we're still missing pieces of information. Dialogue: 0,0:00:30.46,0:00:34.02,Default,,0000,0000,0000,,Most of us are already familiar with the idea of filling in a blank. Dialogue: 0,0:00:34.48,0:00:36.84,Default,,0000,0000,0000,,We do it when we're\Nputting our name on our homework. Dialogue: 0,0:00:37.42,0:00:41.02,Default,,0000,0000,0000,,Sometimes, there's more than one blank that needs to be filled out, and in that case, Dialogue: 0,0:00:41.76,0:00:46.36,Default,,0000,0000,0000,,we give the blank a label so that we know which piece\Nof information goes where. Dialogue: 0,0:00:47.48,0:00:50.74,Default,,0000,0000,0000,,Variables are placeholders for pieces of information that can change. Dialogue: 0,0:00:51.44,0:00:55.74,Default,,0000,0000,0000,,By using a variable for the missing information, we can continue working on whatever we were doing, Dialogue: 0,0:00:56.30,0:00:59.52,Default,,0000,0000,0000,,and let someone else fill in information later. Dialogue: 0,0:00:59.92,0:01:01.92,Default,,0000,0000,0000,,In software, we use variables a lot. Dialogue: 0,0:01:02.52,0:01:06.86,Default,,0000,0000,0000,,We use variables as placeholders for name, email address, and even username. Dialogue: 0,0:01:06.86,0:01:09.66,Default,,0000,0000,0000,,That way, we can let the program know where those details will appear Dialogue: 0,0:01:10.14,0:01:12.24,Default,,0000,0000,0000,,after the user fills them in. Dialogue: 0,0:01:12.98,0:01:15.28,Default,,0000,0000,0000,,We use variables all the time in our work. Dialogue: 0,0:01:15.28,0:01:19.76,Default,,0000,0000,0000,,Any time you need to store a piece of information\Nfor later, we use a variable. Let's say we Dialogue: 0,0:01:20.52,0:01:24.30,Default,,0000,0000,0000,,Let's say we need to count the number of times the user has tweeted. Dialogue: 0,0:01:26.04,0:01:28.76,Default,,0000,0000,0000,,Every time that user tweets, we'll add one to that number. Dialogue: 0,0:01:28.76,0:01:32.06,Default,,0000,0000,0000,,And every time\Nthe user deletes a tweet, we'll decrease that number by one. Dialogue: 0,0:01:32.86,0:01:35.92,Default,,0000,0000,0000,,Anytime we need to know how\Nmany times that user has tweeted, Dialogue: 0,0:01:36.08,0:01:37.56,Default,,0000,0000,0000,,we'll just look at that variable.