calling a function in Shell script troubleshooting

Some Code
After Some code part is executed the control doesnt go to rvin_doxx_scrt.. and the script exits

           rvin\_doxx_scrt\(\) 
           \{
              Some Code 
           \}
         
           if \(som code\)
          then 
          rvin\_doxx_scrt\(\) 
          fi
          
          I want to call rvin\_doxx_scrt inside if loop of th program..
          I am also unable to call th function rvin\_doxx_scrt\(\)  in other pats of               the program
if (som code)
then
rvin_doxx_scrt
fi

Hi mirusnet

I am getting the error

rvin_doxx_scrt not found ....
Pls help me out

root@FreeBSD >./a.sh
It works!
root@FreeBSD >cat a.sh
#!/bin/sh

rvin_doxx_scrt()
{
printf "It works!\n"
}

rvin_doxx_scrt

ok i will mesg u the complete code tomorrow ..
might be i am missing something ;;[:-)]