It will perform better, but it doesn't work under cfscript, you need to use
setVariable() in cfscript.


----- Original Message -----
From: "Andrew Muller" <[EMAIL PROTECTED]>
Newsgroups: cfaussie
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, February 23, 2003 11:53 AM
Subject: [cfaussie] Re: Dynamically naming vars in cfscript?


> Viktor's method should work and prolly will perform a little better than
> the SetVariable function.
>
> Viktor Radnai wrote:
> >
> > I have a feeling that this would work too:
> > "Variable.#VariableforVariablename#" = 1;
> >
> > I can't test it right now but give it a go...
> >
> >
> > Mark M wrote:
> >
> >> *SetVariable*(/name/, /value/)
> >>
> >>
> >> Straight outta the docs.
> >>
> >>
> >>
> >> Mark
> >>
>
> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >>
> >> ICQ: 3094740
>
> >> -----Original Message-----
> >> *From:* [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco
> >> Fleur
> >> *Sent:* Sunday, 23 February 2003 12:08 PM
> >> *To:* CFAussie Mailing List
> >> *Subject:* [cfaussie] Dynamically naming vars in cfscript?
> >>
> >>
> >>
> >> Is it possible to dynamically name variables in cfscript? if so, how?
> >>
> >> ---
> >> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> >> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> >>
> >> MX Downunder AsiaPac DevCon - http://mxdu.com/
>
> --
> Andrew Muller
> Senior Macromedia Certified Instructor - ColdFusion, Flash
> Certified Advanced Macromedia ColdFusion Developer
> Certified Macromedia Flash Developer
>
> Daemon Internet Consultants
> [EMAIL PROTECTED]
> http://www.daemon.com.au
> T:61 2 9380 4162
> F:61 2 9380 4204
> 17 Roslyn Gardens
> Elizabeth Bay NSW 2011 AUSTRALIA
>
> Daemon: Serious Web Development
>
>
> MX DownUnder: The First AsiaPac Macromedia Devcon!
> http://www.mxdu.com/
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to