Siebel VB Language Reference > Quick Reference: VB Statements and Functions >

Declarations in VB


The following statements are for data declarations.

Statement
Purpose
For More Information

Const

Declares a symbolic constant

Const Statement

Declare

Forward declares a procedure in the same module or in a dynamic-link library

Declare Statement

Deftype

Declares the default data type for variables

Deftype Statement

Dim

Declares variables

Dim Statement

Function...End Function

Defines a function

Function...End Function Statement

Global

Declares a global variable

Global Statement

Option Base

Declares the default lower bound for array dimensions

Option Base Statement

Option Compares

Declares the default case sensitivity for string comparisons

Option Compare Statement

Option Explicit

Forces variables to be declared explicitly

Option Explicit Statement

ReDim

Declares dynamic arrays and reallocates memory

ReDim Statement

Static

Defines a static variable or subprogram

Static Statement

Sub...End Sub

Defines a subprogram

Sub...End Sub Statement

Type

Declares a user-defined data type

Type Statement

Siebel VB Language Reference Copyright © 2006, Oracle. All rights reserved.