Coldfusion v10 vs. v9

This piece of code works on CF10, but not on CF9. Can anyone let me know why?

ERROR CF9 states:

Invalid CFML construct found on line 2 at column 18. ColdFusion was looking at the following text: { 

THE CODE:

 <cfscript> CompanyobjData = { 'CustomerID' : 'a', 'CUSTOMERNAME1' : 'b', 'CUSTOMERADDRESS1' : 'c', 'CUSTOMERADDRESS2' : 'd', 'CITY' : 'e', 'ST' : 'f', 'ZIP' : 'g', 'PHONE' : 'h', 'DEFAULTTERM' : 'i' }; </cfscript> <cfdump var="#CompanyobjData#" > 
+7
source share
1 answer

Segment : only supported from CF10, use = signs instead.

+10
source

All Articles