June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,3 +1,19 @@
|
|||
;Task:
|
||||
Print out <big> '''SPAM''' </big> followed by a ''newline'' in an infinite loop.
|
||||
|
||||
|
||||
;Related tasks:
|
||||
* [[Loop over multiple arrays simultaneously]]
|
||||
* [[Loops/Break]]
|
||||
* [[Loops/Continue]]
|
||||
* [[Loops/Do-while]]
|
||||
* [[Loops/Downward for]]
|
||||
* [[Loops/For]]
|
||||
* [[Loops/For with a specified step]]
|
||||
* [[Loops/Foreach]]
|
||||
* [[Loops/Increment loop index within loop body]]
|
||||
* [[Loops/Infinite]]
|
||||
* [[Loops/N plus one half]]
|
||||
* [[Loops/Nested]]
|
||||
* [[Loops/While]]
|
||||
<br><br>
|
||||
|
|
|
|||
3
Task/Loops-Infinite/C/loops-infinite-5.c
Normal file
3
Task/Loops-Infinite/C/loops-infinite-5.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/*Abhishek Ghosh, 24th October 2017*/
|
||||
spam: puts("SPAM");
|
||||
goto spam;
|
||||
3
Task/Loops-Infinite/Emacs-Lisp/loops-infinite.l
Normal file
3
Task/Loops-Infinite/Emacs-Lisp/loops-infinite.l
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env emacs --script
|
||||
|
||||
(while (princ "SPAM\n"))
|
||||
6
Task/Loops-Infinite/Fortress/loops-infinite.fortress
Normal file
6
Task/Loops-Infinite/Fortress/loops-infinite.fortress
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
component loops_infinite
|
||||
export Executable
|
||||
run() = while true do
|
||||
println("SPAM")
|
||||
end
|
||||
end
|
||||
3
Task/Loops-Infinite/Perl/loops-infinite-1.pl
Normal file
3
Task/Loops-Infinite/Perl/loops-infinite-1.pl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
while(1){
|
||||
print "SPAM\n";
|
||||
}
|
||||
3
Task/Loops-Infinite/Red/loops-infinite.red
Normal file
3
Task/Loops-Infinite/Red/loops-infinite.red
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
forever [
|
||||
print "SPAM"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue