Use bracket notation. This applies to any struct: <cfset foo = application["class#url.class#"]>
======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Ryan Farrell [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 10:46 AM > To: CF-Talk > Subject: Dynamic Application Variable and the Duplicate() Function > > > Well, > > I can set my dynamic variable just fine, but reading it > appears to be an issue. Please let me know what you think about this: > > < cflock type="readonly" scope="application" timeout="5"> > < cfif isdefined("application.class#url.class#")> > < cfset request.adList = > duplicate(application.class#url.class#)> > < /cfif> > < /cflock> > > The above throws an invalid expression format error. I've > tried this a variety of ways but can't get it to work. The > application variable is a two-dimensional array. > > Thanks, > > Ryan Farrell .:i:. Programmer > Nuovo Technologies > [EMAIL PROTECTED] > 850-939-1548 x16 > http://www.nuovotech.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.