|
I am coding a module in a service program, and in this module, I am coding a RETURN op in the middle of a DOW loop, because once the right record is found, I want to return control to the caller. If this module is called several times in the same activiation group, and RETURNs several times in the middle of the DOW loop, are there any consequences to subsequent calls? I just can't help but think there is going to be some 'stack overflow' or something. All static variable values are being handled to accomodate this, but it just doesn't feel right. Should I not be in a loop while RETURNing? -- "Enter any 11-digit prime number to continue..."
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.