bdw429s
07/26/2023, 5:12 PM• You use the cffunction tag to define CFC methods. The CFScript function statement can create simple methods, but it does not provide options to control access to the method, provide metadata, specify a return type, or control generated output.But that doesn't seem correct. I do
public String function( arg ) metadata="oh, yeah" outpout=false {
}
all the time in script.Dave Merrill
07/26/2023, 6:00 PMaliaspooryorik
output
though do you - it's false by default in cfscriptbdw429s
07/26/2023, 6:18 PMbdw429s
07/26/2023, 6:18 PMbdw429s
07/26/2023, 6:19 PMbdw429s
07/26/2023, 6:19 PMecho('foo')
will totally create output in script unless output is turned offaliaspooryorik
aliaspooryorik
bdw429s
07/26/2023, 6:20 PMbdw429s
07/26/2023, 6:21 PMaliaspooryorik
outpout
😛bdw429s
07/26/2023, 6:21 PMbdw429s
07/26/2023, 6:22 PMaliaspooryorik
numberic
instead of numeric
bdw429s
07/26/2023, 6:22 PMbdw429s
07/27/2023, 4:26 PMbdw429s
08/11/2023, 10:45 PM