Intro to For Loops
01/21/2016
|
0:12:33
Writing a For...Next loop; using different step values; summing values in a listbox; nested loops; multi-column listbox. Shell program at http://bowerpower.net/compprog1/vb05/IntroToForLoops.zip
Intro to For Loops
Created: 01/21/2016
0:00:17
Writing a For loop (these loops are good when we know how many times/iterations a loop needs to happen)
0:01:55
Using a variable as a stopping value (also can use a variable as a starting value)
0:03:10
Starting value can be any number (doesn't have to be 1 or 0)
0:03:52
Count/step by +2 instead of the default count/step of +1
0:04:43
Count/step by -1 (backward) instead of the default count/step of +1
0:06:34
A loop should have documentation explaining its purpose/what it will do
0:07:30
Finding the sum of the numeric values in a listbox
0:09:30
Nested For loops (a For loop inside another For loop)
0:11:56
The MultiColumn property of a listbox (horizontal scrollbar at bottom)