Whatever message this page gives is out now! Go check it out!
<cfscript>
a = 2;
</cfscript>| CFScript operator | CFML operator | CFScript operator | CFML operator |
== | EQ | != | NEQ |
< | LT | <= | LTE |
> | GT | >= | GTE |
| assignment | for-in | try-catch |
function call | while | function (function definition) |
if-else | do-while | var (in custom functions only) |
switch-case-default | break | return (in custom functions only) |
for | continue |
if(score GT 0)
{
result = "positive";
Positives = Positives + 1;
}//This is a single-line comment.
//This is a second single-line comment./*This is a multiline comment.
You do not need to start each line with a comment indicator.
This line is the last line in the comment. */MyVariable = 12; // Set MyVariable to the default value.End of my long comment */ foo = "bar";/*This is a single-line comment using multiline format. */