2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1 +1,3 @@
|
|||
Specifically print out "SPAM" followed by a newline in an infinite loop.
|
||||
;Task:
|
||||
Print out <big> '''SPAM''' </big> followed by a ''newline'' in an infinite loop.
|
||||
<br><br>
|
||||
|
|
|
|||
9
Task/Loops-Infinite/Elena/loops-infinite.elena
Normal file
9
Task/Loops-Infinite/Elena/loops-infinite.elena
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#import system.
|
||||
|
||||
#symbol program =
|
||||
[
|
||||
#loop true?
|
||||
[
|
||||
console writeLine:"span".
|
||||
].
|
||||
].
|
||||
|
|
@ -1 +1 @@
|
|||
for (;;) print("SPAM");
|
||||
for (;;) console.log("SPAM");
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
while (true) print("SPAM");
|
||||
while (true) console.log("SPAM");
|
||||
|
|
|
|||
1
Task/Loops-Infinite/S-lang/loops-infinite.slang
Normal file
1
Task/Loops-Infinite/S-lang/loops-infinite.slang
Normal file
|
|
@ -0,0 +1 @@
|
|||
forever print("SPAM");
|
||||
Loading…
Add table
Add a link
Reference in a new issue