Shell script

I have writen a shell script. It is a function lspath () I can not call that function from the ksh shell. That is if is go the the command prompt $ lspath it gives me lspath not found. Can someone help me with thsi please. Thank you.

Duplicate post ?

http://www.unix.com/shell-programming-scripting/50299-function.html\#post302160120