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
>
> 

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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

Reply via email to