This question might be naive as I'm new to ColdFusion programming.
I have a task for which I have written a function, f1
, inside a component. I want to call f1
from another function, f2
defined in the same component.
f2
is being called in a cfm file.
My question - Is this the right way to do it? Can I invoke f1
from f2
?
I can as well merge f1
into f2
, but I would like keep f1
as a separate function.