7

这段代码适用于 CF10,但不适用于 CF9。谁能告诉我为什么?

CF9 错误读取:

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

编码:

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

1 回答 1

10

:仅 CF10 支持分隔符,请改用符号=

于 2013-05-21T16:14:06.930 回答