Appendix A. Language Elements by Category

This appendix lists all the functions, statements, and other keywords available within the VBScript language by category. The categories are:

Array Handling (Section 1.1)
Assignment (Section 1.2)
Comment (Section 1.3)
Constants (Section 1.4)
Data Subtype Conversion (Section 1.5)
Date and Time (Section 1.6)
Dictionary Object (Section 1.7)
Error Handling (Section 1.8)
File System Objects (Section 1.9)
Information Functions (Section 1.10)
Mathematical and Numeric (Section 1.11)
Miscellaneous (Section 1.12)
Object Programming (Section 1.13)
Program Structure and Flow (Section 1.14)
String Manipulation (Section 1.15)
User Interaction (Section 1.16)
Variable Declaration (Section 1.17)

Where necessary, individual keywords may appear in more than one category. Note that neither constants nor operators are listed here; the former are listed in Appendix B, while the latter appear in Appendix C.

Array Handling

Array Function

Assigns a comma-delimited list of values to the elements in an array

Dim Statement

Declares a fixed or dynamic array

Erase Statement

Clears the contents of an array

Filter Function

Returns an array of strings matching (or not) a specified value

IsArray Function

Indicates whether a variable is an array

Join Function

Returns a string constructed by concatenating an array of values with a given separator

LBound Function

Returns the lower bound of an array, which in VBScript is always 0

Preserve Statement

Used with the ...

Get VBScript in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.