Chapter 4: ColdFusion Expressions: Operators and Other Constructs
573
Time values
You can directly enter a date-and-time object in any of the
following formats:
"October 30, 1999 02:34:12"
"October 30, 1999 2:34a"
"October 30, 1999 2:34am"
"October 30, 1999 02:34am"
"October 30, 1999 2am"
The time part of the object is accurate to the second.
Lists
Lists are a special kind of string, made up of elements
separated by delimiters.
You specify the allowable delimiters for a list by [HOW?] A
list can have more than one delimiting character. The
default delimiting character, used by all list processing
functions is a comma: “,”. White space is not considered a
delimiter. However, when using lists where elements may
be separated by white space as well as other delimiters, be
sure to add the white space characters to the delimiters.
Delimiters before the first element and after the last
element are ignored.
The structure of lists is flat – that is, lists cannot be nested
into one another. Also, lists can contain no “empty”
elements. A list can be empty, however. The empty list is
equivalent to the empty string "".
Structures
You can use structures to create and maintain key-value
pairs, to refer to related string values as a unit rather than
individually, or to create associative arrays.
For more information about structures, see Developing Web
Applications with ColdFusion.
Arrays
Arrays are tables of objects or data that can be indexed.
Although the ArrayNew function only supports creating up
to three-dimensional arrays, there is no limit on array size or
maximum dimension.
Elements stored in an array are referenced as follows:
<CFSET myarray[1][2]=Now()>
For more information about arrays, see Developing Web
Applications with ColdFusion.
Objects Used to Build ColdFusion Expressions
Type
Description
Summary of Contents for COLDFUSION 4.5-CFML LANGUAGE
Page 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Page 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Page 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Page 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Page 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Page 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Page 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Page 584: ...560 CFMLLanguageReference...
Page 594: ...570 CFMLLanguageReference...