To |
Do this |
Example |
---|---|---|
Declare a variable |
Use the Dim keyword, along with the desired data type. |
DimMyIntAsInteger |
Modify the accessibility of a variable or procedure |
Use the Public, Private,Friend, or Protected keywords. |
PublicSubMySub() EndSub |
Use structured exception handling |
Create a Try…Catch…Finally block. | |
Inherit from a base class |
Use the Inherits keyword. |
ClassDog InheritsAnimal EndClass |