|
You mean there is another way to do it other than DOW? :) Of course with the DOU you can always add the additional IF EOF after the first read to check for EOF in a DOU. I learned the priming read with the read at the bottom of the loop eons ago in college and it is the only way that feels good to me. Carl At 10:14 AM 5/7/98 -0500, you wrote: >Don't even start the DOU/DOW thing. But, I agree with Rick. A priming >read with a DOW is correct way to do it. DOU will always do the loop >once, which we don't want. > >Bradley V. Stone >bvstone@taylorcorp.com >http://prairie.lakes.com/~bvstone/ >"Does this proposition entail my dressing up as Little Boe Peep?" - >Fletch > >> -----Original Message----- >> From: Rick Baird [SMTP:rbbaird@Premsys.com] >> Sent: Thursday, May 07, 1998 9:17 AM >> To: MIDRANGE-L@midrange.com >> Subject: Re: what is unclear - LEAVE >> >> John Carr wrote: >> > >> > Heh >> > And Hans even uses one of my favorite opcodes break to out of a DOU; >> the >> > LEAVE statement. >> > (Which of course you almost can't use if you use the inferior DOW) >> > >> > I said ducking and grinning and running. >> > >> > Oh No, not the dreaded DOU/DOW wars. >> >> This is not a challenge, but under what conditions would you not be >> able to use LEAVE inside of a DOW? >> >> (BTW, my preference is a DOW with a priming read, and a read at the >> bottom of the loop) >> >> Regards, >> >> Rick >> +--- >> | 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 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 >+--- > Carl J. Galgano http://cgalgano.home.mindspring.com mailto:cgalgano@ediconsulting.com EDI Consulting Services, Inc. 540 Powder Springs Street Suite C19 Marietta, GA 30064 770-422-2995 +--- | 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.