Anonymous user
Loops/Infinite: Difference between revisions
added ocaml, plus syntax highlighting
(+ MAXScript) |
(added ocaml, plus syntax highlighting) |
||
Line 7:
=={{header|C}}==
<
=={{header|Common Lisp}}==
<
=={{header|Groovy}}==
Line 21:
=={{header|Java}}==
<
System.out.println("SPAM");
}</
<
System.out.println("SPAM");
}</java>
=={{header|Logo}}==
Line 35 ⟶ 34:
=={{header|MAXScript}}==
<pre language="maxscript">while true do print "SPAM\n"</pre>
=={{header|OCaml}}==
<ocaml>while true do
print_endline "SPAM"
done</ocaml>
=={{header|Perl}}==
<
=={{header|Prolog}}==
Line 43 ⟶ 47:
=={{header|Python}}==
<
print "SPAM"</
=={{header|Ruby}}==
<
puts "SPAM"
end</
=={{header|UnixPipes}}==
|