Operators and Expressions

An operator is a code element that does an operation on one or more elements that hold values. Value elements include variables, properties, constants, literals, and results of procedures and expressions.

An expression puts together a sequence of values and operators, and makes a new value. The operators have an effect on the value elements to calculate, compare, or do other operations.

Types of operators

ViviFire has many types of operators.

Evaluation of expressions

2 + 4
' The result is 6
4 * Math.Sqrt(36)
' The result is 24.0
"Vivi" & "Fire"
' The result is "ViviFire"
321 < 234
' The result is False