|
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. > >You -do- start executing the program 'from the top,' but you have to do >your own field clearing and indicator re-setting (ie move zero/blank and >seton/setof). > >This can be very aggravating if you don't remember to clear things in your >program, or if you add a new field to a screen and don't remember to clear >it in your program! OTOH, there are times when that's _exactly_ what you want to do—kind of like 'static' in C/C++. So, as in so many things, it depends. Cheers Vernon Hamberg Systems Software Programmer Old Republic National Title Insurance Company 400 Second Avenue South Minneapolis, MN 55401 (612) 371-1111 x480 +--- | 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 +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.