Created
September 30, 2022 19:07
-
-
Save adamcameron/9d9a6f08ca54e999e429eacae1a0a1de to your computer and use it in GitHub Desktop.
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
Tags | |
[#arguments.x#] [2] | |
Script | |
[#arguments.x#] [#arguments.x#] |
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
Tags<br> | |
<cffunction name="f1"> | |
[#arguments.x#] | |
</cffunction> | |
<cffunction name="g1" output="true"> | |
[#arguments.x#] | |
</cffunction> | |
<cffunction name="h1" output="false"> | |
[arguments.x#] | |
</cffunction> | |
<cfset f1(x=1)> | |
<cfset g1(x=2)> | |
<cfset h1(x=3)> | |
<hr> | |
Script<br> | |
<cfscript> | |
function f2(x){ | |
``` | |
[#arguments.x#] | |
``` | |
} | |
function g2(x) output=true { | |
``` | |
[#arguments.x#] | |
``` | |
} | |
function h2(x) output=false { | |
``` | |
[#arguments.x#] | |
``` | |
} | |
f2(x=1) | |
g2(x=2) | |
h2(x=3) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment