Declaration
|
Element |
Description |
|---|---|
|
Const statement |
Declares a constant |
|
Class...End Class statement |
Defines a class |
|
Declare statement |
Defines a prototype for a call to an external DLL library function |
|
Dim statement |
Declares a variable |
|
Enum statement |
Defines a series of constants as an enumerated type |
|
Function statement |
Defines a function |
|
Friend keyword |
Makes a procedure in a class callable from outside the class but within the project in which the class is defined |
|
Option Explicit statement |
Requires declaration of all variables |
|
Private statement |
Declares a local variable |
|
Property statement |
Defines a property |
|
Protected statement |
Declares a protected class member |
|
Public statement |
Declares a public or global variable |
|
Static statement |
Declares a static variable |
|
Structure...End Structure statement |
Declares a structure or user-defined type |
|
Sub statement |
Declares a subroutine |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access