Does CFML support variable variables?
In PHP you can define a variable and then define another variable to
point to it, e.g.:
$i = 123;
$j = $$i;
print $j;
// output is "123"
Is there something similar in CFML? At a cursory glance of the books I
have looks like it isn't possible.
In my situation I've got variables with pretty long names, e.g.
#Application.language.circuitname.stringname# and would like to be able
to reference it by a shorter method, e.g. circuitlang.stringname, while
still retaining the Application scope.
Thanks.
--
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
"Nothing endures but change." - Heraclitus
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Re: Variable variables? Damien McKenna
- Re: Variable variables? Claude Schneegans
- Re: Variable variables? Aaron DC
- Application Error in Event Viewer Jim Curran
- Re: Variable variables? Damien McKenna
- RE: Variable variables? Dave Watts
- RE: Variable variables? S . Isaac Dealey
- Re: Variable variables? S . Isaac Dealey