100 doors: Difference between revisions
Content added Content deleted
m (Moved Tiny BASIC to thew BASIC section (it was in the wrong place anyway) and fixed the order of some BASICs) |
mNo edit summary |
||
Line 13,360: | Line 13,360: | ||
| 100 | |
| 100 | |
||
+-------+</syntaxhighlight> |
+-------+</syntaxhighlight> |
||
=={{header|Stringle}}== |
|||
<syntaxhighlight lang="stringle">i "." |
|||
d "." |
|||
y |
|||
y 1 |
|||
z |
|||
z 1 |
|||
p "door" #i |
|||
*p *p "." |
|||
#i +100 z 0 |
|||
i i d |
|||
z |
|||
i d "." |
|||
#d +100 y 0 |
|||
d d "." |
|||
y |
|||
i "." |
|||
x |
|||
p "door" #i |
|||
f "oc" |
|||
#@f #*p |
|||
.\f "o" $ #i |
|||
x 1 |
|||
#i +100 x 0 |
|||
i i "." |
|||
x</syntaxhighlight> |
|||
{{out}} |
|||
<pre>1 |
|||
4 |
|||
9 |
|||
16 |
|||
25 |
|||
36 |
|||
49 |
|||
64 |
|||
81 |
|||
100</pre> |
|||
=={{header|SuperCollider}}== |
=={{header|SuperCollider}}== |