Jump to content

Function definition: Difference between revisions

Line 1,213:
 
=={{header|ColdFusion}}==
====Tag style====
<syntaxhighlight lang="coldfusion"><cffunction name="multiply" returntype="numeric">
<cfargument name="a" type="numeric">
Line 1,218 ⟶ 1,219:
<cfreturn a * b>
</cffunction></syntaxhighlight>
 
====Script style====
 
<syntaxhighlight lang="lisp">numeric function multiply(required numeric a, required numeric b){
return a * b;
}
</syntaxhighlight>
 
=={{header|Common Lisp}}==
1

edit

Cookies help us deliver our services. By using our services, you agree to our use of cookies.