in reply to Re^2: Use reference for functions in functionsin thread Use reference for functions in functions