>I agree, I think the Object apporach is the best way to go. Quick Question: When I instantiate an object for a function call is it scoped to the calling PEM?
Objects are the best way - but you could also declare some public variables and simply have your UDF assign them values when it is hit.
Imagination is more important than knowledge