Yeah.. I looked at it and thought "dynamic variable name" instead of "populating structure" like I should have. Moral: I should engage brain before opening mouth :)
-Justin Scott, Lead Developer Sceiron Internet Services, Inc. http://www.sceiron.com ----- Original Message ----- From: "Pascal Peters" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 10:36 AM Subject: RE: Dynamic structure key names > You're a brave man, going against Ray on his favorite toppic. If you have a closer look, you will see that Ray is (of course) right and you are wrong. No quotes or # signs needed. In general, try to avoid them when you don't need them. > > Pascal Peters > Certified ColdFusion (5.0) Advanced Developer > Certified Web Developer > Macromedia Certified Instructor > LR Technologies, Belgium > Tel +32 2 639 68 70 > Fax +32 2 639 68 99 > Email [EMAIL PROTECTED] > Web www.lrt.be > > -----Original Message----- > From: Justin Scott [mailto:[EMAIL PROTECTED]] > Sent: donderdag 11 april 2002 16:26 > 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 > > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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

