0 - 1 of 1 tags for user defined functions

Can you give example for User defined functions/methods without external? How methods can be used for UDTs?