Dim Statement

<< Click to Display Table of Contents >>

Navigation:  Variables and Data Types >

Dim Statement

Description

Declares variables and allocates storage space

Syntax

Dim varname As type
 

Dim MyVar As Integer

Dim MyString As String

Dim MyDate As Date

Dim MyObject As Object