| Dictionary, Encyclopedia and Thesaurus - The Free Dictionary 1,808,647,734 visitors served. |
|
Dictionary/ thesaurus | Medical dictionary | Legal dictionary | Financial dictionary | Acronyms | Idioms | Encyclopedia | Wikipedia encyclopedia | ? |
loop |
Also found in: Dictionary/thesaurus, Medical, Legal, Idioms, Wikipedia, Hutchinson | 0.05 sec. |
loopIn programming, a repetition within a program. Whenever a process must be repeated, a loop is set up to handle it. A program has a main loop and a series of minor loops, which are nested within the main loop. Learning how to set up loops is what programming technique is all about. Loops are accomplished by various programming structures that have a beginning, body and end. The beginning generally tests the condition that keeps the loop going. The body comprises the repeating statements, and the end is a GOTO that points back to the beginning. In assembly language, the programmer writes the GOTO, as in the following example that counts to 10.
MOVE "0" TO COUNTER
LOOP ADD "1" TO COUNTER
COMPARE COUNTER TO "10"
GOTO LOOP IF UNEQUAL
STOP
In high-level languages, the GOTO is generated by the interpreter or compiler; for example, the same routine as above using a WHILE loop.
COUNTER = 0
DO WHILE COUNTER <> 10
COUNTER = COUNTER + 1
ENDDO
STOP
For a more detailed look at a loop, look at the end of the C definition. The main event loop of the DOS version of this database is presented. loop 1. Electronics a closed electric or magnetic circuit through which a signal can circulate 2. a flight manoeuvre in which an aircraft flies one complete circle in the vertical plane 3. Chiefly Brit a railway branch line which leaves the main line and rejoins it after a short distance 4. Maths Physics a closed curve on a graph 5. another name for antinode 6. Anatomy a. the most common basic pattern of the human fingerprint, formed by several sharply rising U-shaped ridges b. a bend in a tubular structure, such as the U-shaped curve in a kidney tubule (Henle's loop or loop of Henle) 7. Computing a series of instructions in a program, performed repeatedly until some specified condition is satisfied 8. Skating a jump in which the skater takes off from a back outside edge, makes one, two, or three turns in the air, and lands on the same back outside edge loop [lüp] (aerospace engineering) A flight maneuver in which an airplane flies a circular path in an approximately vertical plane, with the lateral axis of the airplane remaining horizontal, that is, an inside loop. (computer science) A sequence of computer instructions which are executed repeatedly, but usually with address modifications changing the operands of each iteration, until a terminating condition is satisfied. (electricity) A closed path or circuit over which a signal can circulate, as in a feedback control system. Commercially, the portion of a connection from central office to subscriber in a telephone system. (computer science) (electromagnetism) (engineering) A reel of motion picture film or magnetic tape whose ends are spliced together, so that it may be played repeatedly without interruption. A closed circuit of pipe in which materials and components may be placed to test them under different conditions of temperature, irradiation, and so forth. (mathematics) A line which begins and ends at the same point of the graph. (physics) A closed curve on a graph, such as a hysteresis loop. That part of a standing wave where the vertical motion is greatest and the horizontal velocities are least. (astronomy)
How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content. |
|
| ? Mentioned in |
|---|
| Encyclopedia |
| Free Tools: |
For surfers:
Free toolbar & extensions |
Word of the Day |
Help
For webmasters: Free content | Linking | Lookup box | Double-click lookup | Partner with us |
|---|