Write a loop that has no end clause.
do {} while (true);
while(true) { // Do something }
for (;;);
while (true);
for(;;){ // Do something }
loop null; end loop;
while(1){ // Do something }
#define forever while(1)
forever { // Do something }
loop: goto loop;
(loop [] ;; do something (recur))
IDENTIFICATION DIVISION. PROGRAM-ID. no end loop. PROCEDURE DIVISION. PERFORM UNTIL 1 < 0 DISPLAY "Something" END-PERFORM STOP RUN.
while (true) { // Do something }
for (;;) { /// Do something }
while (true) { }
for (;;) {}
while (true) { // do something }
for (;;) { }
defmodule Looping do def infinite do # Write code here infinite end end
loop() -> do:something(), loop().
do end do
for { // Do something }
import Control.Monad
forever $ pure ()
let x = x in x
forever (getLine >>= putStrLn)
while (true) { // to infinity }
for(;;) { console.log('Oops') }
(loop)
(defun infinite-loop (x) (apply x (infinite-loop x)))
while true do -- Do something end
repeat until false
::loop:: goto loop
repeat until false;
While True do { nothing };
while (1) { do_stuff(); }
say "" while True;
?- repeat, false. % repeat/0 is built-in, but could be defined like this: repeat. repeat :- repeat.
loop :- loop. ?- loop.
repeat, write("hello\n").
while True: pass
loop do # endless joy end
loop { // Do something }
while(true){ println(3) }
(let forever () (forever))
[] repeat.
Do ' Do something Loop
No security, no password. Other people might choose the same nickname.