11.07.2015 Views

VBScript Reference Manual for InduSoft Web Studio - ICP DAS

VBScript Reference Manual for InduSoft Web Studio - ICP DAS

VBScript Reference Manual for InduSoft Web Studio - ICP DAS

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

<strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong><strong>VBScript</strong> <strong>Reference</strong> <strong>Manual</strong>Format FunctionsFunctionFormatCurrencyFormatDateTimeFormatNumberFormatPercentDescriptionReturns an expression <strong>for</strong>matted as a currency valueReturns an expression <strong>for</strong>matted as a date or timeReturns an expression <strong>for</strong>matted as a numberReturns an expression <strong>for</strong>matted as a percentageI/O FunctionsInput/OutputInputBoxMsgBoxLoadPictureDescriptionDisplays a prompt in a dialog box, waits <strong>for</strong> the user to input text or click a button, andreturns the contents of the text box.Displays a message in a dialog box, waits <strong>for</strong> the user to click a button, and returns avalue indicating which button the user clicked.Returns a picture objectMath FunctionsFunction DescriptionAbs Returns the absolute value of a specified numberAtn Returns the arctangent of a specified numberCos Returns the cosine of a specified number (angle)Exp Returns e raised to a powerHex Returns the hexadecimal value of a specified numberIntReturns the integer part of a specified numberFixReturns the integer part of a specified numberLog Returns the natural logarithm of a specified numberOct Returns the octal value of a specified numberRandomize Initializes the random-number generatorRnd Returns a random number less than 1 but greater or equal to 0Sgn Returns an integer that indicates the sign of a specified numberSin Returns the sine of a specified number (angle)Sqr Returns the square root of a specified numberTan Returns the tangent of a specified number (angle)Miscellaneous FunctionsMiscellaneous DescriptionGetLocaleReturns the current locale IDRGBReturns a whole number representing an RGB color valueSetLocaleSets the current locale IDScript Engine FunctionsScript Engine IDScriptEngineScriptEngineBuildVersionScriptEngineMajorVersionScriptEngineMinorVersionDescriptionReturns a string representing the scripting language in useReturns the build version number of the scripting engine in useReturns the major version number of the scripting engine in useReturns the minor version number of the scripting engine in use<strong>InduSoft</strong>, Ltd. 17

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

Saved successfully!

Ooh no, something went wrong!