Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Using and Changing

Former Member
0 Kudos

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

1 REPLY 1

raviprakash
Advisor
Advisor
0 Kudos

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.