Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What is the operator for 4 + 5 in vbscript?


Asked by London Waller on Dec 14, 2021 VBScript



Let’s take an expression 4 + 5 is equal to 9. Here, 4 and 5 are called operands and + is called the operator. VBScript language supports following types of operators − To understand these operators in a better way, you can Try it yourself. There are following comparison operators supported by VBScript language −
In fact,
There are mainly three kinds of operators in VBScript: Arithmetic, Comparison and Logical Operators. VBS Arithmetic operators, as the name indicate, are used for arithmetic calculations. You might be familiar with the first four arithmetic operators as we use them commonly. The modulus operator is used to find the remainder after a division.
Likewise, Called Logical NOT Operator. It reverses the logical state of its operand. If a condition is True, then the Logical NOT operator will make it False. NOT (a<>0 OR b<>0) is false. Called Logical Exclusion. It is the combination of NOT and OR Operator.
In addition,
Arithmetic operators should be familiar from everyday life, VBScript uses them in the same way as you used to during math classes. VBScript comes with a limited amount of arithmetic operators and they are always positioned between two variables or constants (a constant is a fixed number).
Furthermore,
Assignment operator is used to assign a value to a or series of variable. Arithmetic operators supports arithmetic operations on numeric values.We can use them with assignment operator.