Skip Navigation

The Computer Journal 1986 29(1):33-35; doi:10.1093/comjnl/29.1.33
© 1986 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Takaoka, T.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

The Semantics of New While Loop*

T. Takaoka §

Department of Information Science, University of Ibaraki, Hitachi, 316 Japan

A new control structure called ‘new while-loop’, abbreviated ‘nwhile’ is introduced. The meaning of nwhile B do S is that if B is False S is not executed. If B is true, S is executed repeatedly while B is true. If B becomes false anywhere inside S, the computer goes out of loop. An example of program for the new control structure is given.

Although the nwhile structure can be given using loop and exit statements in ADA, the programmer does not have to worry where to put exit statements in the proposed nwhile loop.


Received June 1984.

* Part of this work was done while the author was on leave at the Department of Computer and Information Services, University of Alabama in Birmingham, Birmingham, Alabama, U.S.A.

§ Department of Information Science, University of Ibaraki, Hitachi, 316 Japan


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.