Inside Coldfusion MX

"-->

StructKeyList (structure [, delimiter])

Description

Gives a list of all the keys in a structure.

Example

<cfscript> Products = StructNew(); StructInsert(Products, "ProductName", "Blizzard Blender"); StructInsert(Products, "ProductID", 1001); StructInsert(Products, "SKU", "555-6582"); </cfscript> <cfoutput> These are the keys in the struct: #StructKeyList(Products)#. </cfoutput>

Категории