| Chapter 2 |
Visual Basic coding
essentials |
|
|
How to use continuation characters and
comments |
48 |
|
How to use the Edit toolbar |
50 |
|
How to create a standard module |
52 |
|
How to code with a readable
style |
54 |
|
Exercise set 2-1: Experiment with coding
techniques |
56 |
|
|
How to declare variables |
58 |
|
How to control the scope of
variables |
60 |
|
How to assign values to
variables |
62 |
|
How to create user-defined
constants |
64 |
|
How to use Visual Basic
constants |
64 |
|
How to code arithmetic functions |
66 |
|
How to code conditional
expressions |
68 |
|
How to work with arrays |
70 |
|
Exercise set 2-2:
Use variables and constants |
72 |
|
Visual Basic statements |
74 |
|
How to code If statements |
74 |
|
How to code Select Case
statements |
76 |
|
How to code For
Next
statements |
78 |
|
How to code Do
Loop
statements |
80 |
|
How to code On Error statements |
82 |
|
How to code With statements |
84 |
|
A summary of other Visual Basic
statements |
86 |
|
Exercise set 2-3: Use some new
statements |
88 |
|
|
How to code and call a Sub
Procedure |
90 |
|
How to code and call a Function
Procedure |
92 |
|
A summary of the Visual Basic
functions |
94 |
|
How to use the MsgBox function |
96 |
|
A parsing routine that uses eight
different functions |
98 |
|
Exercise set 2-4: Create and use
functions |
100 |
|
t |
|
|
|
|