Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrew-dixon/bc02580a1f6ddd168af1532fdab95c4c to your computer and use it in GitHub Desktop.
Save andrew-dixon/bc02580a1f6ddd168af1532fdab95c4c to your computer and use it in GitHub Desktop.
CF Function with single parameters
<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