Created
February 23, 2015 20:16
-
-
Save huguogang/653cd68ea489a6e515ea to your computer and use it in GitHub Desktop.
CFScript Problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
private struct function test() { | |
if(1 == 1) { | |
if(1 == 0) { | |
writeOutput("1==0"); | |
}; | |
writeOutput("true"); | |
return {data = 1}; | |
} | |
writeOutput("false"); | |
return {data = 2}; | |
} | |
writeDump(test()); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The semicolon at the end of "if" block is causing problem in CF 9