>
> 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.
If the variable is a query or structure, this happens automatically, as both
are passed by reference.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

