| Contents > Developing ColdFusion MX Applications > Elements of CFML > Expressions |
|
|
|
|
||
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 Using ColdFusion Variables. For detailed information on expressions and operators, see Using Expressions and Pound Signs.
|
|
||
| Contents > Developing ColdFusion MX Applications > Elements of CFML > Expressions |
|
|
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/elemen11.htm