This manual follows the guidelines below in presenting Visual Basic code:
Dim intSomeValue As Integer, strTextValue As StringintStartNumber As Integer ' If, Then, and Str are reserved words.intSomeValue = 0 Then strTextValue = Str(intStartNumber)
Dim dblIncome As DoublestrFirstName As String * 30
On Error GoTo ErrorHandler
.
.
.:
MsgBox Err.Description
' This is a comment; these two lines ' are ignored when the program is running.
Sub SomeCode ( )
If intX > 0 Then
intP = intQ
End IfSub