Hello,
In CF MX using CFSCRIPT with a function, how can I set the default value of an argument?
In the script form you would use: <cfargument name="parameterName" type="dataType"
required="true/false" default="defaultValue">
Here is my test function:
Thanks,
Michael42
In CF MX using CFSCRIPT with a function, how can I set the default value of an argument?
In the script form you would use: <cfargument name="parameterName" type="dataType"
required="true/false" default="defaultValue">
Here is my test function:
Code:
function msg(message,title) {
...
return writeOutput( "<br>" & title & "<br>" & message);
}
Thanks,
Michael42