You can loop through the structure and find the keys.
<cfloop collection="#structure#" item="key">
<cfoutput>Value of key #key# is: #structure["#key#"]#<br></cfoutput>
</cfloop>
Dan
-----Original Message-----
From: Eric Fickes [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 20, 2000 7:43 AM
To: CF-Talk
Subject: Stucture help (from GetFunctionList)
The GetFunctionList() post got me thinking. The output from that function
is a structure, right? Well, here's my structure question. I know that I
can use StructCount to find out the number of keys in a structure, but what
is I don't know what those keys are? I'm a SOL? Is there any way to
display a list the list of keys from a structure, kind of like doing a
query.ColumnList? I know about the StructFind, but if I don't have any clue
what the keys would be this wouldn't really help unless I become a super
good guesser.
Eric
The information contained in this message is privileged and confidential. It is
intended solely for the use of the named recipient. If you are not the intended
recipient, you are hereby notified that any disclosure, copying, distribution, or use
of the contents of this transmission is strictly prohibited. If you receive this
message in error, please notify the sender immediately. Thank you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists