• Subject: Re: dynamic program CALLS
  • From: Dave Mahadevan <mahadevan@xxxxxxxx>
  • Date: Tue, 09 Dec 1997 16:06:37 -0500
  • Organization: Stoner and Associates



Vern Hamberg wrote:

> Paul
>
> At 10:38 PM 12/8/97 -0500, you wrote:
> >>If LR is *NOT* turned on when you execute a RETURN, the resources that the
> >>program is using remain allocated to the program.
> >>
> >>david
> >
> >
> >That's a point that hasn't been emphasized (yet):  If you do a RETURN
> >without LR, then call the program again, ALL VARIABLES AND INDICATORS ARE
> >JUST AS YOU LEFT THEM.
> >
>

Just a small addition to this discussion.  ILE RPG procedures do clear the
variables on every call automatically, unless you use static.
--
Thank You.

Regards

Dave Mahadevan.. mailto:mahadevan@fuse.net


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].