Created
May 29, 2015 23:28
-
-
Save anonymous/717ea2e12e318d6ae18e to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains 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> | |
a = 0; | |
s = "some string "; | |
a += 2; // equivalent to a=a+2 | |
writeDump([a]); | |
a -= 3; // equivalent to a=a-3 | |
writeDump([a]); | |
a *= 4; // equivalent to a=a*4 | |
writeDump([a]); | |
a /= 5; // equivalent to a=a/5 | |
writeDump([a]); | |
a %= 6; // equivalent to a=a%6 | |
writeDump([a]); | |
s &= "a"; // equivalent to s = s & "a" | |
writeDump([s]); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment