Can anybody please tell me how to to use userdefined functions in formula field ? or first ofall can i create my own function in crystal report environment?

Thanks FOR ANY HELP.