Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Call by refrence and Call by value

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
venkatarao

New User


Joined: 19 Dec 2004
Posts: 24
Location: hyderabad

PostPosted: Wed Mar 23, 2005 9:52 am    Post subject: Call by refrence and Call by value
Reply with quote

is call by refrence and call by value is same or what is the difference between them?
Back to top
View user's profile Send private message
References
learnmf

Active User


Joined: 14 Mar 2005
Posts: 124

PostPosted: Wed Mar 23, 2005 10:07 am    Post subject:
Reply with quote

Quote:
is call by refrence and call by value is same or what is the difference between them?


Hi friend
No both are diff.In Call by reference the value of the calling program is affected when their is a change in called program.Where is their is no effect on calling program variable in calse of call by value.
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1