‎2009 Dec 14 8:12 PM
hi,
while defining subroutines, what is the exact difference between Using and Changing?
when we pass by reference we can use both and while passing using value we can use both + Value (VAR).
Then what is the exact difference between two?
Also, what is formal parameter?q
Moderator message - Please do not ask or answer basic questions - thread locked
Edited by: Rob Burbank on Dec 14, 2009 3:31 PM
‎2009 Dec 14 8:24 PM
Hi C`hinmay,
When a subroutine is called with "USING" you can make use of the value inside your subroutine but you cannot change the value. With CHANGING you can CHANGE the value too. Formal parameter is the PARAMETER NAME used while defining the interface of a Subroutine.
Regards,
Ravi.