> I don't know whether it's marked for deprecation - for that to happen, it
> would have to be part of the documented, desired behavior of the
> language in
> the first place. To the best of my knowledge, it isn't - it's a "trick" of
> the language which just happens to work. On the other hand, there's a
> function called SetVariable, the behavior of which is documented
> and clear.
Actually, this method is documented in the 4.5 docs...
/CFDOCS/CFML_Language_Reference/2_ColdFusion_Tags/lr2_088.htm
Dynamic variable names
In this example, the variable name is itself a variable.
<CFSET myvariable="current_value">
<CFSET "#myvariable#"=5>
Or in the CF5 docs with the same text...
/cfdocs/CFML_Reference/Tags94.html#1103445
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]]
> Sent: 21 May 2001 16:21
> To: CF-Talk
> Subject: RE: Setting Dynamic Variables
>
>
> > Eh? Is it marked for deprecation? If so, it's news to me.
> > (Not saying your wrong, just wondering why you think this.)
>
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists