Created
March 2, 2019 20:35
-
-
Save andrew-dixon/bc02580a1f6ddd168af1532fdab95c4c to your computer and use it in GitHub Desktop.
CF Function with single parameters
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> | |
function myFunction(string testParameter) { | |
writeDump(arguments); | |
writeOutput('<br>'); | |
} | |
myFunction(); | |
myFunction( 1 , 2 , 'a' , 'b' ); | |
myFunction( number1=1 , | |
number2=2 , | |
letter1='a' , | |
letter2='b' ); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment