18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Overview of VBScript<br />

Constants<br />

Color Constants<br />

Constant Value Description<br />

vbBlack &h00 Black<br />

vbRed &hFF Red<br />

vbGreen &hFF00 Green<br />

vbYellow &hFFFF Yellow<br />

vbBlue &hFF0000 Blue<br />

vbMagenta &hFF00FF Magenta<br />

vbCyan &hFFFF00 Cyan<br />

vbWhite &hFFFFFF White<br />

Comparison Constants<br />

Constant Value Description<br />

vbBinaryCompare 0 Perform a binary comparison<br />

vbTextCompare 1 Perform a textual comparison<br />

Date & Time Constants<br />

Constant Value Description<br />

vbSunday 1 Sunday<br />

vbMonday 2 Monday<br />

vbTuesday 3 Tuesday<br />

vbWednesday 4 Wednesday<br />

vbThursday 5 Thursday<br />

vbFriday 6 Friday<br />

vbSaturday 7 Saturday<br />

vbUseSystemDayOfWeek 0 Use the day of the week specified in your system settings for the first day of the week.<br />

vbFirstJan1 1 Use the week in which January 1 occurs (default).<br />

vbFirstFourDays 2 Use the first week that has at least four days in the new year.<br />

vbFirstFullWeek 3 Use the first full week of the year.<br />

Date Format Constants<br />

Constant Value Description<br />

vbGeneralDate 0 Display a date and/or time. For real numbers, display a date and time. If there is no<br />

fractional part, display only a date. If there is no integer part, display time only. Date and<br />

time display is determined by your system settings.<br />

vbLongDate 1 Display a date using the long date format specified in your computer's regional settings.<br />

vbShortDate 2 Display a date using the short date format specified in your computer's regional<br />

settings.<br />

vbLongTime 3 Display a time using the long time format specified in your computer's regional settings.<br />

vbShortTime 4 Display a time using the short time format specified in your computer's regional settings.<br />

<strong>InduSoft</strong> Web Studio Page 773

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

Saved successfully!

Ooh no, something went wrong!