Jochem,
Oops, I didn't realize I named my argument that in my pseudo code...
Review my question in context with this:
Let's say we have 1 cfc, we'll call it "utilities.cfc" which has the following code:
component {
public any function init() {
return this;
};
public any function mapper(arr,func) {
func(do,something,now);
};
public any function doer(arr,func) {
func(do,something,now);
};
public any function donter(arr,func) {
func(do,something,now);
};
}
THEN, we have another CFC that uses this utilities.cfc, we'll call it 'worker.cfc' which has code like such...
component {
public any function init() {
variables.util = new utilities();
}
public any function fooer(arr) {
util.mapper(arr,this.doerFunc)
;
}
public any function doerFunc(something,somethingelse,whatever) {