Use this:

<CFSET "button#i#" = "whatever">

or this: 

<CFSET temp=SetVariable("button#i#", "whatever")>

The first is easier, but the second is the "official" method...

Gene Kraybill
LPW & Associates
Mansfield, PA

"Kevin Schmidt" <[EMAIL PROTECTED]> wrote:

> I have kind of a stupid question.  I need to create a dynamic variable =
> in a loop with the counter number attached to the end of the variable. =
> So I get button1 button2 buttton3 etc
> 
> I am not exactly sure the syntax <CFSET button + i =3D #button_name#> =
> ain't cutting it.
> 
> Let me know what the exact syntax is!
> 
> Thanks
> Kevin Schmidt
> 
> 
> ------=_NextPart_000_0C0B_01BFF586.985C45B0
> Content-Type: text/html;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>I have kind of a stupid question.&nbsp; =
> I need to=20
> create a dynamic variable in a loop with the counter number attached to =
> the end=20
> of the variable. So I get button1 button2 buttton3 etc</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>I am not exactly sure the syntax =
> &lt;CFSET button +=20
> i =3D #button_name#&gt; ain't cutting it.</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Let me know what&nbsp;the exact syntax=20
> is!</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Kevin =
> Schmidt<BR></FONT></DIV></BODY></HTML>
> 
> ------=_NextPart_000_0C0B_01BFF586.985C45B0--
> 
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
> 
> 
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to