ColdFusion expressions consist of operands and operators. Operands are comprised of constants and variables, such as "Hello" or MyVariable. Operators, such as the string concatenation operator (&) or the division operator (/) are the verbs that act on the operands. ColdFusion functions also act as operators.
The simplest expression consists of a single operand with no operators. Complex expressions consist of multiple operands and operators. For example, the following statements are all ColdFusion expressions:
12
MyVariable (1 + 1)/2 "father" & "Mother" Form.divisor/Form.dividend Round(3.14159)
The following sections briefly describe constants and variables. For detailed information on using variables, see Chapter 3, "Using ColdFusion Variables". For detailed information on expressions and operators, see Chapter 4, "Using Expressions and Pound Signs".