# Operators and Expressions

An operator is an element that performs an operation on one or more elements that hold values. Value elements include variables, constants, literals, and returns from procedures.

An expression combines a series of values and operators, which yields a new value. The operators act on the value elements to perform calculations, comparisons, or other operations.

## Types of operators

ViviFire provides the following types of operators:

- Arithmetic operators perform calculations on numeric values.
- Assignment operators
- Comparison operators compare two values and return a Boolean value as a result.
- Concatenation operators join multiple strings into a single string.
- Logical and bitwise operators combine Boolean or numeric values and return a result of the same data type.

## Evaluation of expressions

```
2 + 4
' The preceding expression evaluates to 6.
4 * #Math.Sqrt(36)
' The preceding expression evaluates to
"Vivi" & "Fire"
' The preceding expression evaluates to "ViviFire"
321 < 234
' The preceding expression evaluates to False.
```