Just wondering what applications do… If a caller calls
abc(def), do application coding standards permit the code in
abc() to have the discretion to change
def, e.g.,
set def=$get(def)? In the most common case, it doesn't matter because calling
abc()
will make a private copy of the parameter. But if the caller, perhaps
inadvertently on the part of the programmer, happens to call the
function with an actualname, e.g.,
abc(.pqr), then
pqr will be changed.
Of course, this does not apply to cases where
abc() is expected to change the passed parameter.
Thank you very much.
Regards
- Bhaskar