Question
What to use for comment
In my .cfm file I have a few CFFUNCTION
Within my CFFUNCTION I have a big chunk of <cfscript></cfscript>
Within <cfscript >I have codes written in block of if else if statements this way:
<CFFUNCTION name="Bla">
<cfscript>
....
....
if (listFind("3,5,6",getFormsForPlan.FormID) AND len(trim(A_New[53])))
{
.....
.....
.....
structFormText[numKey][1]["formText"] = " <b>CHOOSE THE PERCENTAGE OF.....</b>";
structFormText[numKey][1]["XPosition"] = "73";
structFormText[numKey][2]["XPosition"] = "73";
.....
.....
.....
}
other similar block of codes from here down
</cfscript>
<CFFUNCTION>
If I want to comment out ONE whole block of code, Starting from if.... { and end in } what should I use?
// on every line OR /* */ ?
Since I'm commenting out a block of code I would assume using /* */ is better and more logical than putting // on each line but when I use /* */, a few lines did not turn grey especially the text: <b>CHOOSE THE PERCENTAGE OF.....</b>"; but others turn grey
Please help!
Within my CFFUNCTION I have a big chunk of <cfscript></cfscript>
Within <cfscript >I have codes written in block of if else if statements this way:
<CFFUNCTION name="Bla">
<cfscript>
....
....
if (listFind("3,5,6",getFormsForPlan.FormID) AND len(trim(A_New[53])))
{
.....
.....
.....
structFormText[numKey][1]["formText"] = " <b>CHOOSE THE PERCENTAGE OF.....</b>";
structFormText[numKey][1]["XPosition"] = "73";
structFormText[numKey][2]["XPosition"] = "73";
.....
.....
.....
}
other similar block of codes from here down
</cfscript>
<CFFUNCTION>
If I want to comment out ONE whole block of code, Starting from if.... { and end in } what should I use?
// on every line OR /* */ ?
Since I'm commenting out a block of code I would assume using /* */ is better and more logical than putting // on each line but when I use /* */, a few lines did not turn grey especially the text: <b>CHOOSE THE PERCENTAGE OF.....</b>"; but others turn grey
Please help!
