for(;;){
// Do something
}
while(true) {
// Do something
}
forever {
// Do something
}
for(;;){
// Do something
}
while(1){
// Do something
}
(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)
{
// Do something
}
while (true) {
// do something
}
defmodule Looping do
def infinite do
# Write code here
infinite
end
end
loop() ->
do:something(),
loop().
forever (getLine >>= putStrLn)
for(;;) {
console.log('Oops')
}
while (true) {
// to infinity
}
(defun infinite-loop (x)
(apply x (infinite-loop x)))
(do () (nil)
(write-line "Control-C to quit this infinite loop")
(sleep 1))
while true do
-- Do something
end
while (true) {
// do something
}
While True do { nothing };
while (1) {
do_stuff();
}
?- repeat, false.
% repeat/0 is built-in, but could be defined like this:
repeat.
repeat :- repeat.
repeat, write("hello\n").
loop do
# endless joy
end
while(true){
println(3)
}
(let forever ()
(forever))