Use of 'equals' as variable
i running code analyzer in cf9 against program written cf 6.1. following parse error:\
exception while parsing file: invalid cfml construct found on line 50 @ column 16.coldfusion looking @ following text:<p>equals</p><p>the cfml compiler processing:<ul><li>a cfset tag beginning on line 50, column 10.<li>a cfset tag beginning on line 50, column 10.</ul>.
the line in question reads: <cfset equals = "/">
what wrong line? 'equals' allowed variable name?
fyi - couple lines down there statement not throw error: <cfset equals = "=">
equals resvered, if seldom used, word in cf. should have been failling in 6.1 since has been reserved word far can recall.
http://www.adobe.com/livedocs/coldfusion/6.1/htmldocs/cfml_b19.htm
it same (i had resist saying "equals") eq operator.
i.e.
<cfif eq that> can written <cfif equals that>
More discussions in ColdFusion
adobe
Comments
Post a Comment