Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript Statements

VBScript Statements [does this belong here?]

Statement

Description

VBScript Call Statement

Transfers control to a Sub procedure or Function procedure.

VBScript Const Statement

Declares constants for use in place of literal values.

VBScript Dim Statement

Declares variables and allocates storage space.

VBScript Do. . . Loop Statement

Repeats a block of statements while a condition is True or until a condition becomes True.

VBScript Erase Statement

Reinitializes fixed-size arrays and deallocates dynamic array storage space.

VBScript Exit Statement

Exits a block of Do...Loop, For...Next, Function, or Sub code.

VBScript For. . . Next Statement

Repeats a group of statements a specified number of times.

VBScript For Each. . . Next Statement

Repeats a group of statements for each element in an array or collection.

VBScript Function Statement

Declares the name, arguments, and code that form the body of a Function procedure.

VBScript If. . . Then. . . Else Statement

Conditionally executes a group of statements.

VBScript On Error Statement

Enables error-handling.

VBScript Option Explicit Statement

Used at script level to force explicit declaration of all variables in that script.

VBScript Private Statement

Used at script level to declare private variables and allocate storage space.

VBScript Public Statement

Used at script level to declare public variables and allocate storage space.

VBScript Randomize Statement

Initializes the random-number generator.

VBScript ReDim Statement

Used at procedure level to declare dynamic-array variables and allocate or reallocate storage space.

VBScript Rem Statement

Used to include explanatory remarks and comments in a script.

VBScript Select Case Statement

Executes one of several groups of statements based on the value of an expression.

VBScript Set Statement

Assigns an object reference to a variable or property.

VBScript Sub Statement

Declares the name, arguments, and code that form the body of a Sub procedure.

VBScript While. . . Wend Statement

Executes a series of statements as long as a given condition is True.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.