这是一个意想不到的关键词吗
Is this an unexpected keyword
我在 ColdFusion 自定义标签中,这一行
20 : param attributes.name = "";
21 : param attributes.id = attributes.name;
22 : param attributes.inline false;
23 : param attributes.look = "";
24 : param attributes.processed = true;
更新
没关系
22 : if(!structKeyExists(attributes, "inline")) attributes["inline"] = false;
出现错误
You cannot use a variable reference with "." operators in this context
The CFML compiler was processing:
A script statement beginning with param on line 22, column 9.
A script statement beginning with { on line 12, column 36.
A script statement beginning with switch on line 12, column 1.
A cfscript tag beginning on line 6, column 2.
这是关键字吗?如果有,那是什么?
您在第 22 行错过了等于 (=) 运算符。
而不是
param attributes.inline false;
写
param attributes.inline = false;
我在 ColdFusion 自定义标签中,这一行
20 : param attributes.name = "";
21 : param attributes.id = attributes.name;
22 : param attributes.inline false;
23 : param attributes.look = "";
24 : param attributes.processed = true;
更新
没关系
22 : if(!structKeyExists(attributes, "inline")) attributes["inline"] = false;
出现错误
You cannot use a variable reference with "." operators in this context
The CFML compiler was processing:
A script statement beginning with param on line 22, column 9. A script statement beginning with { on line 12, column 36. A script statement beginning with switch on line 12, column 1. A cfscript tag beginning on line 6, column 2.
这是关键字吗?如果有,那是什么?
您在第 22 行错过了等于 (=) 运算符。
而不是
param attributes.inline false;
写
param attributes.inline = false;