Jump to content

Loops/Infinite: Difference between revisions

Added solution for Action!
(add fermat spam)
(Added solution for Action!)
Line 197:
(prog2$ (cw "SPAM~%")
(spam))))</lang>
 
=={{header|Action!}}==
<lang Action!>PROC Main()
DO
PrintE("SPAM")
OD
RETURN</lang>
{{out}}
[https://gitlab.com/amarok8bit/action-rosetta-code/-/raw/master/images/Infinite.png Screenshot from Atari 8-bit computer]
<pre>
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
SPAM
...
</pre>
 
=={{header|ActionScript}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.