home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.edu
- Path: sparky!uunet!stanford.edu!ames!news.hawaii.edu!galileo!tholen
- From: tholen@galileo.ifa.hawaii.edu (Dave Tholen)
- Subject: Re: Small Language Wanted
- Message-ID: <1992Aug30.005555.21946@news.Hawaii.Edu>
- Sender: root@news.Hawaii.Edu (News Service)
- Nntp-Posting-Host: galileo.ifa.hawaii.edu
- Organization: University of Hawaii
- Distribution: na
- Date: Sun, 30 Aug 1992 00:55:55 GMT
- Lines: 14
-
- I wrote in response to someone else's posting about how computed GOTOs
- prevented programmers from writing structured FORTRAN:
-
- > And if the elimination of computed GO TOs will
- > help make FORTRAN more structured, then you can simply not use them.
-
- And Marty Cohen responded:
-
- > In Fortran 77 there is no way to code a while loop without using a GOTO.
-
- Um, I think you read my posting a bit too fast. The original poster was
- complaining about computed GOTOs. You can still code a WHILE loop using
- an unconditional GOTO. In fact, the unconditional GOTO is the only type
- of GOTO I use, and sparingly at that.
-