Hello all I'm wondering how to declare a user defined function with a simple example