Tuesday, September 7, 2010

Some notes for lecture #2

syntax: the rules of the language. what is a verb, what is a noun, the order in which various words need to appear.

variable:
a "box" in memory with a name and a value. that value can change over time.

declaration:
Dim x as Integer

data types:
Integer, Long
String
Single, Double
Boolean

Initialization:
Dim x as Integer = 3

GUI: Graphical user interface
draw GUI, then VB code as the "codebehind"
asignment statement. use = operators. stuffs a value into a variable. does NOT establish a relationship, as if it were an equation.

No comments:

Post a Comment