View previous topic :: View next topic
|
Author |
Message |
cybertaurean
New User
Joined: 22 Dec 2008 Posts: 87 Location: US
|
|
|
|
Hi,
I have the subprogram linkage defined with three values A B and C.
When I call the program, I call using only A and B. Will this work fine as long as I dont refer to C in subprogram or will this not compile at all???
Regards,
Sumesh |
|
Back to top |
|
|
cybertaurean
New User
Joined: 22 Dec 2008 Posts: 87 Location: US
|
|
|
|
Sorry,
The question is as follows -
I have A B and C in called program LINKAGE and I call it using A B C and a fourth parameter D.
What will be the output in the above case.
Regards,
Sumesh |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Since your subprogram has no way of identifying the extra parameter(s), there is no way the subprogram can use it(them).
Why didn't you just test this (10 minutes would have done it)? |
|
Back to top |
|
|
cybertaurean
New User
Joined: 22 Dec 2008 Posts: 87 Location: US
|
|
|
|
Thanks a lot Robert |
|
Back to top |
|
|
|