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> Functions<br />

Function Summary<br />

Functions<br />

Abs Escape LCase Second<br />

Array Eval Left SetLocale<br />

Asc Exp LeftB Sgn<br />

AscB Filter Len Sin<br />

AscW Fix LenB Space<br />

Atn FormatCurrency LoadPicture Split<br />

CBool FormatDateTime Log Sqr<br />

CByte FormatNumber LTrim StrComp<br />

CCur FormatPercent Mid String<br />

CDate GetLocale MidB StrReverse<br />

CDbl GetObject Minute Tan<br />

Chr GetRef Month Time<br />

ChrB Hex MonthName Timer<br />

ChrW Hour MsgBox TimeSerial<br />

CInt InputBox Now TimeValue<br />

CLng InStr Oct Trim<br />

Cos InstrB Replace TypeName<br />

CreateObject InStrRev RGB UBound<br />

CSng Int Right UCase<br />

CStr IsArray RightB Unescape<br />

Date IsDate Rnd VarType<br />

DateAdd IsEmpty Round Weekday<br />

DateDiff InNull RTrim WeekdayName<br />

DatePart IsNumeric ScriptEngine Year<br />

DateSerial IsObject ScriptEngineBuildVersion<br />

DateValue Join ScriptEngineMajorVersion<br />

Day LBound ScriptEngineMinorVersion<br />

<strong>VBScript</strong> Array Functions<br />

Function Description<br />

Array Returns a variant containing an array<br />

Filter Returns a zero-based array that contains a subset of a string array based on a filter criteria<br />

IsArray Returns a Boolean value that indicates whether a specified variable is an array<br />

Join Returns a string that consists of a number of substrings in an array<br />

LBound Returns the smallest subscript <strong>for</strong> the indicated dimension of an array<br />

Split Returns a zero-based, one-dimensional array that contains a specified number of substrings<br />

UBound Returns the largest subscript <strong>for</strong> the indicated dimension of an array<br />

Note: See <strong>VBScript</strong> Statements as well<br />

<strong>VBScript</strong> Object Functions<br />

Function Description<br />

CreateObject Creates and returns a reference to an Automation object<br />

GetObject Returns a reference to an Automation object from a file<br />

IsObject Returns a Boolean value indicating whether an expression references a valid Automation<br />

object.<br />

Note: See <strong>VBScript</strong> Objects and Collections as well<br />

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

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

Saved successfully!

Ooh no, something went wrong!