Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<cfimport taglib="../.." prefix="ex"/>
<ex:detail error=#error#>
<cfoutput>
Structs, queries, arrays, etc cannot be automatically converted into simple
types by ColdFusion.  For this reason, code such as that shown below will cause
this error.
<br>
<Br>
<cfset l = "&lt;">
<cfset g = "&gt;">
<pre>
#l#cfset x = structnew()#g#
#l#cfset y = arraynew(1)#g#
#l#cfset z = querynew("q")#g#
#l#cfoutput#g#
##x## #l#-- complex expression --#g#
##y## #l#-- complex expression --#g#
##z## #l#-- complex expression --#g#
#l#/cfoutput#g#
</pre>
 
<br>
<br>
</cfoutput>
</ex:detail>