Re: Inline structure notation as argument fails

2011-02-18 Thread Jason Durham
I'm using 9,0,1,274733. Jason Durham On Wed, Feb 16, 2011 at 5:43 PM, Sean Corfield wrote: > > CF9 or CF9.0.1? ISTR a bug in this area that got fixed sometime along > the way...? > > On Wed, Feb 16, 2011 at 1:05 PM, Jason Durham wrote: > > > > I'm re-writing an event handler to utilize CF9s s

Re: Inline structure notation as argument fails

2011-02-16 Thread Sean Corfield
CF9 or CF9.0.1? ISTR a bug in this area that got fixed sometime along the way...? On Wed, Feb 16, 2011 at 1:05 PM, Jason Durham wrote: > > I'm re-writing an event handler to utilize CF9s scripting enhancement.  The > majority of the handler was already written in cfscript, including the line > o

Inline structure notation as argument fails

2011-02-16 Thread Jason Durham
I'm re-writing an event handler to utilize CF9s scripting enhancement. The majority of the handler was already written in cfscript, including the line of code I'm having problems with. After making the change to full script, I'm getting an exception indicating "Variable EVENT is undefined". htt

RE: Structure notation

2001-08-23 Thread Brent Goldman
nt to, try this: #evaluate("structure.substructure." & x)# -Brent -Original Message- From: Tim Dempsey [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 7:39 AM To: CF-Talk Subject: Structure notation Folks, Perhaps the collective wisdom of the list can enlig

Re: Structure notation

2001-08-23 Thread Joseph Thompson
structure.substructure['#Evaluate("##x##")#'] ?? This should be better: structure.substructure[x] - Original Message - From: "Tim Dempsey" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, August 23

RE: Structure notation

2001-08-23 Thread Andrew Scott
When structures where introduced in CF4.0, the manual did show both ways of referencing. Both will work fine the same way. -Original Message- From: Tim Dempsey [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 August 2001 12:39 AM To: CF-Talk Subject: Structure notation Folks, Perhaps the

RE: Structure notation

2001-08-23 Thread Rich Wild
> I couldn't say structure.substructure.#Evaluate("#x#") You could say: evaluate("structure.substructure." & x) > -Original Message- > From: Tim Dempsey [mailto:[EMAIL PROTECTED]] > Sent: 23 August 2001 15:39 > To: CF-Talk

RE: Structure notation

2001-08-23 Thread Raymond Camden
> Is this something new or has it always been available. Why doesn't the CF > manuals or help mention it? Is there any danger in using object notation. It's always been like that. The [] notation is best for dynamic struct access, ie: This would output Struct.Boo. If you did Struct.Key, it w

Structure notation

2001-08-23 Thread Tim Dempsey
Folks, Perhaps the collective wisdom of the list can enlighten me about the syntax available to reference structure elements. In Cold Fusion manuals and Studio help as well as in the Ben Forta books the way to reference elements of a structure is given as structure_name["element_name"] But I h