infinite loop (endless loop)

Part of the TechTarget Network of Enterprise IT Web Sites

Search our IT-specific encyclopedia for:
 
Browse alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #
All Categories Programming

infinite loop (endless loop)

An infinite loop (sometimes called an endless loop ) is a piece of coding that lacks a functional exit so that it repeats indefinitely. 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 the presence of the specified condition cannot be ascertained, the next instruction in the sequence tells the program to return to the first instruction and repeat the sequence, which typically goes on until the program terminates automatically after a certain duration of time, or the operating system terminates the program with an error.

Usually, an infinite loop results from a programming error - for example, where the conditions for exit are incorrectly written. Intentional uses for infinite loops include programs that are supposed to run continuously, such as product demo s or in programming for embedded system s.

A pseudo-infinite loop is one that looks as if it will be infinite, but that will actually stop at some point.





Read more about it at:
> Wikipedia has more information about infinite loops.
> SearchVB.com offers a large collection of free programming tutorials.
Last updated on: Mar 24, 2011

>  Enterprise Software related Research & News
>  White Papers for the Retail Industry

Are you a Know-IT-All?
What technology is solid-state lighting based on?
Answer

word of the day Sign up for the Word of the Day
twitter Follow us on Twitter


WORD OF THE DAY...
above the fold
LEARN MORE ABOUT...
Mobile Web design and testing
wear leveling
write amplification
write endurance
decision management
business process governance
Profile-Driven Storage
Resilient File System (ReFS)
Security, Trust and Assurance Registry (STAR)
Windows Server 8
community cloud
managed storage
facial recognition
Shared serial-attached SCSI (SAS)
open compute project
BIOS password
dynamic BPM (business process management)
social BPM (business process management)
in-circuit emulator (ICE)
above the fold
logic simulator
photometric stereo
dynamic case management (DCM)
raw device mapping (RDM)
WhatIs.com RSS Feeds
About Us   |   Contact Us   |   For Advertisers   |   For Business Partners   |   Reprints   |   RSS   |   Awards
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints




All Rights Reserved, Copyright 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts