- see footer for list info -<
you don't need to use struct find as you already have the key... so struct[key] would be faster. ;)

Richard Lovelock wrote:
- see footer for list info -<

thanks guys - tried both methods in the end both do what i need a treat:

Alan is there any advantage using your syntax over:
<cfloop collection="#attributes#" item="item">
<cfoutput><br>#item# = #StructFind(attributes, item)#</cfoutput>
</cfloop>

???

On 5/13/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

- see footer for list info -<

The quickest way doesnt even need a loop...

<cfdump var="#attributes#">

[EMAIL PROTECTED] wrote on 13/05/2005 13:31:23:


- see footer for list info -<

If you have a page with a lot of variable assigned to the attributes scope....what is the quickest/simplest way of looping round and outputting each variable in the attributes scope structure?

--
Richard Lovelock
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to

http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-

- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help

-< _______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-

- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<





_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to