Description of SubRoutines vs. Functions Part 2 : How to pass values in to a Sub or Function :
You can learn the ways easily needed to send values into the functions and subroutines through this tutorial which suggests you to simply by denote the values within brackets followed by function and sub name. And in functions, it is possible to pass values by references which is taught through a simplest example.