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

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support