ok..

-problem code, in cliff notes form-
<CFLOOP index="X" from="1" to="5">
<CFSET variables["hitcount[#X#]"] = variables["hitcount[#X#]+1"]>>
</CFLOOP>

----------------------------------

Ok

Assume hitcount is a defined array - hitcount[1]

With this basic loop, I am going to increase each array element by 1

if hitcount[1] = 5
then hitcount[1] = '5 + 1'
therefore hitcount[1] = 6

It is not accepting my CFSET tag

Let's say we are on count 3 and hitcount[3]=2
I'd want the cfset tag to look like

<CFSET hitcount[3] = '3+1'>

here is how I have it written. I've tried multiple ways with no luck.

<CFSET #hitcount[#X#]# = variables["hitcount[#X#]+1"]>

Can anybody help?? im stuck

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to