Also found in: Dictionary, Thesaurus, Medical, Legal, Financial.
do loop[′dü ‚lüp]
A FORTRAN iterative technique which enables any number of instructions to be executed repeatedly.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
do loopA high-level programming language structure that repeats instructions based on the results of a comparison. In a DO WHILE loop, the instructions within the loop are performed if the comparison is true. In a DO UNTIL loop, the instructions are bypassed if the comparison is true. The following simulated DO WHILE loop prints 1 through 10 and stops. The bold words are programming commands, and the others are variables created by the programmer. See variable and loop.
counter = 0 do while counter < 10 counter = counter + 1 print counter enddo
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.