Infinite Loop

Why Trust Techopedia

What Does Infinite Loop Mean?

An infinite loop is an instruction sequence that loops endlessly when a terminating condition has not been set, cannot occur, and/or causes the loop to restart before it ends.

Advertisements

An infinite loop is also known as an endless loop.

Techopedia Explains Infinite Loop

There are times when a programmer intentionally creates an infinite loop. For example, any form object can wait indefinitely for a user action. When an exit condition is not included within the main loop, the loop runs until the application is exited. In this case, the entire form thread is forced to end programmatically. The term infinite loop is only used in situations where the loop condition is not purposely set. These situations occur most commonly with new developers.

Advertisements

Related Terms

Margaret Rouse
Technology Expert
Margaret Rouse
Technology Expert

Margaret é uma premiada redatora e professora conhecida por sua habilidade de explicar assuntos técnicos complexos para um público empresarial não técnico. Nos últimos vinte anos, suas definições de TI foram publicadas pela Que em uma enciclopédia de termos tecnológicos e citadas em artigos do New York Times, Time Magazine, USA Today, ZDNet, PC Magazine e Discovery Magazine. Ela ingressou na Techopedia em 2011. A ideia de Margaret de um dia divertido é ajudar os profissionais de TI e de negócios a aprenderem a falar os idiomas altamente especializados uns dos outros.