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/da2e1b4238f1b46e8039f7dd88aa46d2 to your computer and use it in GitHub Desktop.
Save andrew-dixon/da2e1b4238f1b46e8039f7dd88aa46d2 to your computer and use it in GitHub Desktop.
CF Function without defined parameters.
<cfscript>
function myFunction() {
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