Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:vbsoperators [2015/09/14]
127.0.0.1 external edit
developer:vbsoperators [2016/01/22] (current)
sandy
Line 1: Line 1:
 ====== VBScript Operators ====== ====== VBScript Operators ======
 > **Developer:​** [[developer:​rhinoscript|RhinoScript]] > **Developer:​** [[developer:​rhinoscript|RhinoScript]]
-> **Summary:​** //Overview of VBScript operators.//+> **Summary:​** //Overview of VBScript operators//
  
-=====See Also===== +See also [[developer:​vbsfundamentals|VBScript Fundamentals]].
-[[developer:​vbsfundamentals|VBScript Fundamentals]]+
  
 =====Overview===== =====Overview=====
Line 10: Line 9:
 VBScript has a full range of operators, including arithmetic operators, comparison operators, concatenation operators, and logical operators. VBScript has a full range of operators, including arithmetic operators, comparison operators, concatenation operators, and logical operators.
  
-=====Operator ​Precedence=====+=====Operator ​precedence=====
  
 When several operations occur in an expression, each part is evaluated and resolved in a predetermined order called operator precedence. You can use parentheses to override the order of precedence and force some parts of an expression to be evaluated before others. Operations within parentheses are always performed before those outside. Within parentheses,​ however, standard operator precedence is maintained. When several operations occur in an expression, each part is evaluated and resolved in a predetermined order called operator precedence. You can use parentheses to override the order of precedence and force some parts of an expression to be evaluated before others. Operations within parentheses are always performed before those outside. Within parentheses,​ however, standard operator precedence is maintained.
  
-When expressions contain operators from more than one category, arithmetic operators are evaluated first, comparison operators are evaluated next, and logical operators are evaluated last. Comparison operators all have equal precedence; that is, they are evaluated in the left-to-right order in which they appear. Arithmetic and logical operators are evaluated in the following ​order of precedence.+When expressions contain operators from more than one category, arithmetic operators are evaluated first, comparison operators are evaluated next, and logical operators are evaluated last. Comparison operators all have equal precedence; that is, they are evaluated in the left-to-right order in which they appear. Arithmetic and logical operators are evaluated in the following precedence ​order.
  
 ====Arithmetic==== ====Arithmetic====
developer/vbsoperators.txt · Last modified: 2016/01/22 by sandy