In an arbitary function. Could I pass a reference to it to another function?



function f1 (nVal as Integer)

nNewVal = nVal + 1

f2(me)

end function




function f2(hFunction as Object)as Integer

f2 = hFunction.nNewVal + 1

end function





Is this sort of thing possible... I know with the ME keyword you may have access to all the objects etc.. but how do you get access to parameters that were passed to that function etc?

Thanks

Rob.