Gareth
03/05/2024, 8:20 AM<cfscript>
// This is the same
function test1(){
return "foo";
}
test2 = test1 {
};
writeOutput(test2);
// As this
function test3(){
return "foo";
}
test2 = test3;
writeOutput(test2);
// But this fails ( uncomment )
/*
function test4(){
return "foo";
}
writeOutput(test4 {
});
*/
</cfscript>neokoenig
03/05/2024, 8:20 AMGareth
03/05/2024, 8:20 AMGareth
03/05/2024, 8:21 AMGareth
03/05/2024, 8:21 AMGareth
03/05/2024, 8:22 AMPatrick
03/05/2024, 1:08 PMRodney
03/05/2024, 2:06 PMdirectoryList() instead of <cfdirectory action="list">.Tim
03/05/2024, 3:22 PMhttp method="get" ...
Adobe's doesn't: cfhttp(method="get", ...)Tim
03/05/2024, 3:28 PMColdFusion traditionally allowed you to build your applications using simple tags. ColdFusion 11 allows you to write all the tags in the script format in a very generic manner.and then goes on to show examples. https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-r-s/cfscript.html