You can only use Variables as a structure in CFMX. Also, your code would
be a bit better w/o the evaluate:

<cfloop item="key" collection="#variables#">   (note - you also forgot
the # signs for collection)
        <cfoutput>
        #key# <cfif
isSimpleValue(variables[key])>#variables[key]#</cfif><br>
        </cfoutput>
</cfloop>

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Ken Brocx [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, September 19, 2002 5:21 PM
> To: CF-Talk
> Subject: Variables Collection loop 
> 
> 
> Hi, I run the following loop to output the variables on a 
> page and their values.
> I check for a simple value and skip it if it's not a simple 
> value but it still says it can't output the complex output types.
> 
> <cfloop collection="variables" item="i">
>        #i#-<cfif isSimpleValue("i")>#EVALUATE("i")#</cfif><br>
> </cfloop>
> 
> TIA!
>  
> �
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to