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

Language <strong>Reference</strong><br />

Operators<br />

Arithmetic Operators<br />

Symbol Name Description<br />

^ Exponentiation Raises a number to the power of an exponent.<br />

- Unary negation Finds the difference between two numbers or indicates the negative value of a numeric<br />

expression.<br />

* Multiplication Multiplies two numbers.<br />

/ Division Divides two numbers and returns a floating-point result.<br />

\ Integer division Divides two numbers and returns an integer result.<br />

Mod Modulus arithmetic Divides two numbers and returns only the remainder.<br />

+ Addition Finds the sum of two numbers.<br />

- Subtraction Finds the difference between two numbers or indicates the negative value of a numeric<br />

expression.<br />

& String concatenation Forces string concatenation of two expressions.<br />

Comparison Operators<br />

Symbol Name Description<br />

= Equality Comparison is True if the first expression is equal to the second expression.<br />

Inequality Comparison is True if the first expression is different from the second expression.<br />

< Less than Comparison is True if the first expression is less than the second expression.<br />

> Greater than Comparison is True if the first expression is greater than the second expression.<br />

= Greater than or equal to Comparison is True if the first expression is greater than or equal to the second expression.<br />

Is Object equivalence Compares two object reference variables. Comparison is True if both object names refer to<br />

the same object.<br />

Logical Operators<br />

Symbol Name Description<br />

Not Logical negation Performs logical negation on an expression.<br />

And Logical conjunction Performs a logical conjunction on two expressions.<br />

Or Logical disjunction Performs a logical disjunction on two expressions.<br />

Xor Logical exclusion Performs a logical exclusion on two expressions.<br />

Eqv Logical equivalence Performs a logical equivalence on two expressions.<br />

Imp Logical implication Performs a logical implication on two expressions.<br />

Assignment Operators<br />

Symbol Name Description<br />

= Assignment Assigns a value to a variable or property.<br />

Page 772<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!