Ack.. you're right. Sorry for any confusion.. too early in the morning for this stuff, hehe.
-Justin Scott, Lead Developer Sceiron Internet Services, Inc. http://www.sceiron.com ----- Original Message ----- From: "Raymond Camden" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 10:35 AM Subject: RE: Dynamic structure key names > Eh? The user wants to set a dynamic key to a NAMED struct, payment.due. > This isn't a dynamic variable. It's a dynamic key. > > Hence, no need for "" or setVariable. > > ======================================================================= > Raymond Camden, Principal Spectra Compliance Engineer for Macromedia > > Email : [EMAIL PROTECTED] > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: Justin Scott [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, April 11, 2002 10:26 AM > > To: CF-Talk > > Subject: Re: Dynamic structure key names > > > > > > Actually, you do need them when setting a dynamic variable in > > this way. You > > could use the setVariable() function to avoid using the > > quotes and pounds, > > however. > > > > -Justin Scott, Lead Developer > > Sceiron Internet Services, Inc. > > http://www.sceiron.com > > > > > > ----- Original Message ----- > > From: "Raymond Camden" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Thursday, April 11, 2002 9:59 AM > > Subject: RE: Dynamic structure key names > > > > > > > > > > > > <cfset "payment.due[#pkWebUser#]" = structNew()> > > > > > > > > > > > > > > No need for quotes or for # signs. > > > > > > <cfset payment.due[pkWebUser] = structNew()> > > > > > > > > ============================================================== > > ========= > > > Raymond Camden, Principal Spectra Compliance Engineer for Macromedia > > > > > > Email : [EMAIL PROTECTED] > > > Yahoo IM : morpheus > > > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > > > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists