[cfaussie] Dynamic function calls

2011-06-09 Thread Steve Onnis
 

I am trying to achieve this... (which i can do in other languages)

 

Component["get#VarName#"]()

 

Though CF is throwing an error.  Is this possible at all or do i have to use
Evaluate("Component.get#VarName#()")

 

 

Steve 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Dynamic function calls

2011-06-09 Thread Blair McKenzie
As far as I'm aware you need to use .

Blair

On Fri, Jun 10, 2011 at 2:11 PM, Steve Onnis  wrote:

>
>
> I am trying to achieve this... (which i can do in other languages)
>
>
>
> Component[“get#VarName#”]()
>
>
>
> Though CF is throwing an error.  Is this possible at all or do i have to
> use Evaluate(“Component.get#VarName#()”)
>
>
>
>
>
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaussie@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Dynamic function calls

2011-06-09 Thread Sean Corfield
On Thu, Jun 9, 2011 at 9:11 PM, Steve Onnis  wrote:
> I am trying to achieve this... (which i can do in other languages)
>
> Component[“get#VarName#”]()
>
> Though CF is throwing an error.  Is this possible at all or do i have to use
> Evaluate(“Component.get#VarName#()”)

The CFML Advisory Committee were unanimous that this _should_ work -
and it's worked for a long time in Railo (and OpenBD I believe) but it
hasn't yet made it into a release of Adobe ColdFusion (hopefully it'll
be in CF X?).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.