Why am I getting an error on struct concatenation?
I have the following code and ColdFusion Builder 3 is showing I'm getting an error on line 17 on the cfdata.result & #count# concatenation.
<cfset cfData = structNew() />
<cfloop condition = "count lt numHttpCalls" >
<h4>Head: #count#</h4>
<cfif not ArrayIsEmpty(cateData) >
<cfhttp url="https://example.com/api/head/category.json" method="get" timeout="15" throwonerror="false" proxyServer="webproxy.example.com" proxyport="8070">
<cfhttpparam type="url" name="_authbykey" value="56a7d8c5123465c4058361237">
<cfhttpparam type="url" name="project_id" value="25c4ffd13123456527e294fe6">
<!---The limit has to be less than 10 or elese the snippet will be ignored --->
<cfhttpparam type="url" name="limit" value="10"/>
<!---Specify the categories we want to display on the page below.--->
<cfloop index="x" from="1" to="#arrayLen(cateData)#">
<!---<p>Cate Name: #cateData
.values.url_hash#</p>---> <cfhttpparam type="url" name="url_hash[$in][]" value="#cateData
.values.url_hash#"/> </cfloop>
</cfhttp>
</cfif>
<cfset cfData.result & #count# = DeserializeJSON(cfhttp.FileContent) />
<cfset count=count + 1>
</cfloop>
Any help is much appreciated.
