Dave, you're real close. Just do
<CFSET "choice#count#" = blah>
There's also the SetVariable() function that can be used to do the same thing (check
the docs). I'm not sure there's much of an advantage to either way of doing it. I
believe the above example only works with CF4 and up, while the SetVariable function
has been around longer.
Cheers,
-Max
At 11/2/2000 11:06 PM -0500, you wrote:
>Hello,
>
>What's the best way to dynamically name variables used in a CFSET tag?
>
>I want them named choice0, choice1, etc up through however many loops are
>made:
>
><CFSET choice#count# = blah> (which does not work but illustrates what I'm
>trying to do.
>
>Thanks,
>Dave
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]