home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!topaz.ucq.edu.au!leovacd
- From: leovacd@topaz.ucq.edu.au
- Newsgroups: bit.listserv.dbase-l
- Subject: Re: question on LOOP
- Message-ID: <1993Jan12.095417.13185@topaz.ucq.edu.au>
- Date: 12 Jan 93 09:54:17 AET
- Organization: University of Central Queensland, Australia
- Lines: 40
-
- Try this, Tom
-
- flag = .f.
- DO WHILE .T.
- ...
- ...
- ...
- DO WHILE .NOT. FOUND()
- ...
- ...
- ...
- IF ....
- flag = .t.
- exit
- ** LOOP && To outside loop
- ELSE
- ...
- ...
- ...
- IF ...
- LOOP && To inside loop
- ENDIF
- ENDIF
- ENDDO
- if flag
- flag = .f.
- loop
- endif
- ENDDO
-
- >How can I cause my first LOOP to loop to the outside DO...WHILE loop
- >instead of to the inside one? Thanks in advance for any help!
-
- It is not regular. You have to make program flow get out from one loop
- and then check the variable status in outside loop.
-
- Regards,
-
- Gino
-
-