Wednesday, September 22, 2010

lecture 6 notes

* For loop
* How to use debugger
* assignments
* Controls and Events

Do Loop
For Loop

syntactic sugar

Dim I as Integer = 1
Do
listBox1.Items.Add(word1)
I = I + 1
Loop While I < 16

debugger
* setting a breakpoint
breakpoint: a place in your program where execution stops

Step Over; alternatively, F10

hover over variable to see its current value.
also, Watch window
you can change variables in watch window, see value and data type of variables and expressions

For I = 1 To 15
listBox1.Items.Add(I)
Next

1 comment:

  1. feel free to leave comments here, asking questions, and perhaps i will even answer! or maybe your classmates will.

    ReplyDelete