Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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