Put the variable in parentheses to pass by value, e.g. CALL MYSUB((VAR1))
rex On Thu, Jan 26, 2012 at 9:39 AM, Kebbon Irwin <kebbon.ir...@sympatico.ca> wrote: > > Unidata 7.1 > I think this has come up before (side question: how do you search the > archives?)... I think it is possible to pass a parameter by value instead of > by reference. This, of course, means that any changes to the parameter in > the called subroutine are localized and its original value in the calling > routine is unchanged there. Does anyone do this? If so, how?Cheers,Kebbon > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users