18.01.2013 Views

VBScript Reference Manual for InduSoft Web Studio

VBScript Reference Manual for InduSoft Web Studio

VBScript Reference Manual for InduSoft Web Studio

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>VBScript</strong> <strong>Reference</strong> <strong>Manual</strong> <strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong><br />

<strong>VBScript</strong> Objects and Collections<br />

<strong>VBScript</strong> has certain Objects and Collections that are inherent with <strong>VBScript</strong>. These include:<br />

• Debug<br />

• Err Object<br />

• Match Object & Matches Collections<br />

• Scripting Dictionary Object<br />

• Scripting FileSystemObject<br />

o Drive Object<br />

o File Object<br />

o FileSystemObject Collections<br />

o Folder Object<br />

• Regular Expression Object & Submatches Collection<br />

• TextStream Object<br />

<strong>VBScript</strong> Implicit Objects and Collections<br />

Objects & Collections Description<br />

Class Object<br />

Declares the name of a class, as well as a definition of the variables, properties,<br />

and methods that comprise the class<br />

Debug<br />

The Debug object is an intrinsic global object that can send an output to a script<br />

debugger, such as the Microsoft Script Debugger.<br />

Err<br />

Match Object<br />

Contains in<strong>for</strong>mation about the last run-time error. Accepts the Raise and Clear<br />

methods <strong>for</strong> generating and clearing run-time errors.<br />

Dictionary An associative array that can store any type of data. Data is accessed by a key.<br />

Matches Collection<br />

RegExp Object<br />

SubMatches Collection<br />

Object & Collection Summary<br />

Objects & Collections Description<br />

Drive An object that refers to a specific Drive<br />

Drives A collection of Drive objects.<br />

File An object that refers to a specific File<br />

Files A collection of File objects.<br />

FileSystemObject An object model used to access the Windows file system<br />

Folder An object that refers to a specific Folder<br />

Folders A collection of Folder objects.<br />

Match Provides access to the read-only properties of a regular expression match.<br />

Matches Collection of regular expression Match objects.<br />

RegExp Provides simple regular expression support.<br />

Submatches A collection of regular expression submatch strings.<br />

TextStream An object that refers to a text File<br />

28 <strong>InduSoft</strong>, Ltd.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!