What is loop? - Definition from WhatIs.com
Part of the Programming glossary:

In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached. Typically, a certain process is done, such as getting an item of data and changing it, and then some condition is checked such as whether a counter has reached a prescribed number. If it hasn't, the next instruction in the sequence is an instruction to return to the first instruction in the sequence and repeat the sequence. If the condition has been reached, the next instruction "falls through" to the next sequential instruction or branches outside the loop. A loop is a fundamental programming idea that is commonly used in writing programs.

An infinite loop is one that lacks a functioning exit routine . The result is that the loop repeats continually until the operating system senses it and terminates the program with an error or until some other event occurs (such as having the program automatically terminate after a certain duration of time).

This was last updated in September 2005
Posted by: Margaret Rouse

Related Terms

Definitions

  • d3.js (data-driven documents)

    - D3.js (data-driven documents) is a library of JavaScript code that enables users to input their own data into prebuilt visualizations. The code allows users to generate graphics in frequently used ... (SearchBusinessAnalytics.com)

  • rapid mobile app development (RMAD)

    - Rapid mobile app development (RMAD) is the use of code-free programming tools to speed the process of creating applications for mobile platforms. (WhatIs.com)

  • deprecated

    - In dictionaries, deprecated is a term used to indicate a pronunciation or usage that is acknowledged but discouraged. (WhatIs.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.