Structure Functions - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

120
called person to hold value of key as loop runs --->
<CFLOOP COLLECTION=#Departments# ITEM="person">
<TR>
<TD>#person#</TD>
<TD>#Departments[person]#</TD>
</TR>
</CFLOOP>
</TABLE>
</CFOUTPUT>

Structure Functions

There are several functions that help you create and manage structures in ColdFusion
applications.

Structure Functions

Function
IsStruct
StructClear
StructCopy
StructCount
StructDelete
StructFind
StructInsert
StructIsEmpty
StructKeyArray
StructKeyExists
StructKeyList
Developing Web Applications with ColdFusion
Description
Returns TRUE if the specified variable is a structure.
Removes all data from the specified structure.
Returns a new structure with all the keys and values of the
specified structure.
Returns the number of keys in the specified structure.
Removes the specified item from the specified structure.
Returns the value associated with the specified key in the
specified structure.
Inserts the specified key-value pair into the specified
structure.
Indicates whether the specified structure contains data.
Returns TRUE if the structure contains no data, and FALSE if it
does contain data.
Returns an array of keys in the specified structure.
Returns TRUE if the specified key is in the specified structure.
Returns a list of keys in the specified structure.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents