home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / bit / listserv / dbasel / 1443 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.3 KB  |  46 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!gatech!paladin.american.edu!auvm!QMRELAY.MAIL.CORNELL.EDU!TOM_SCOTT
  3. Message-ID: <DBASE-L%93011114341277@NMSUVM1.BITNET>
  4. Newsgroups: bit.listserv.dbase-l
  5. Date:         Mon, 11 Jan 1993 16:35:01 -0500
  6. Sender:       "Discussion on the use of the dBase language and related
  7.               dialects" <DBASE-L@NMSUVM1.BITNET>
  8. From:         Tom Scott <Tom_Scott@QMRELAY.MAIL.CORNELL.EDU>
  9. Subject:      Question on LOOP
  10. Lines: 34
  11.  
  12.      Question on LOOP
  13. I've using FoxBase+/Mac, trying to develop a program for one of my
  14. offices, but this should be a generic enough question to apply to any
  15. XBase dialect.  Sorry if this is a FAQ, but I can't figure out how to
  16. do a simple task in my program:
  17.  
  18. During the course of my program I have:
  19.  
  20. DO WHILE .T.
  21.  ...
  22.  ...
  23.  ...
  24.     DO WHILE .NOT. FOUND()
  25.          ...
  26.          ...
  27.          ...
  28.            IF ....
  29.               LOOP  && To outside loop
  30.            ELSE
  31.               ...
  32.               ...
  33.               ...
  34.               IF ...
  35.                   LOOP  && To inside loop
  36.               ENDIF
  37.            ENDIF
  38.     ENDDO
  39. ENDDO
  40.  
  41. How can I cause my first LOOP to loop to the outside DO...WHILE loop
  42. instead of to the inside one?  Thanks in advance for any help!
  43.  
  44. Thomas Scott, Systems Manager, College of Engineering
  45. Cornell University, Carpenter Hall Annex, Ithaca, NY  14853
  46.