home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / edu / 1412 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1021 b   |  27 lines

  1. Newsgroups: comp.edu
  2. Path: sparky!uunet!stanford.edu!ames!news.hawaii.edu!galileo!tholen
  3. From: tholen@galileo.ifa.hawaii.edu (Dave Tholen)
  4. Subject: Re: Small Language Wanted
  5. Message-ID: <1992Aug30.005555.21946@news.Hawaii.Edu>
  6. Sender: root@news.Hawaii.Edu (News Service)
  7. Nntp-Posting-Host: galileo.ifa.hawaii.edu
  8. Organization: University of Hawaii
  9. Distribution: na
  10. Date: Sun, 30 Aug 1992 00:55:55 GMT
  11. Lines: 14
  12.  
  13. I wrote in response to someone else's posting about how computed GOTOs
  14. prevented programmers from writing structured FORTRAN:
  15.  
  16. > And if the elimination of computed GO TOs will
  17. > help make FORTRAN more structured, then you can simply not use them.
  18.  
  19. And Marty Cohen responded:
  20.  
  21. > In Fortran 77 there is no way to code a while loop without using a GOTO.
  22.  
  23. Um, I think you read my posting a bit too fast.  The original poster was
  24. complaining about computed GOTOs.  You can still code a WHILE loop using
  25. an unconditional GOTO.  In fact, the unconditional GOTO is the only type
  26. of GOTO I use, and sparingly at that.
  27.