Refer this link subroutines
In reply to Re: How can I use the values which is passed as arguments? by leslie in thread How can I use the values which is passed as arguments? by anbutechie