Four sides of square: Difference between revisions

m
no edit summary
m (→‎{{header|Wren}}: Changed to Wren S/H)
mNo edit summary
Line 1:
{{Draft task|Matrices}}
 
;Task:
Line 6:
<br>
[http://keptarhely.eu/view.php?file=20220218v00x6hugz.jpeg Four sides of square - image]
 
 
===See also===
Line 14 ⟶ 13:
=={{header|11l}}==
{{trans|Python}}
 
<syntaxhighlight lang="11l">
V size = 9
Line 435 ⟶ 433:
 
=={{header|Arturo}}==
 
<syntaxhighlight lang="rebol">drawSquare: function [side][
loop 1..side 'x ->
Line 660 ⟶ 657:
1 1 1 1 1 1 1
</pre>
 
 
=={{header|F_Sharp|F#}}==
Line 683 ⟶ 679:
[1; 1; 1; 1; 1; 1]]
</pre>
 
 
=={{header|FreeBASIC}}==
Line 734 ⟶ 729:
{{out}}
https://www.dropbox.com/s/9g5ahfzw1muuzgm/hollowMatrix.bmp?dl=0
 
 
=={{header|Go}}==
Line 867 ⟶ 861:
 
=={{header|J}}==
 
Implementation:
<syntaxhighlight lang="j">fsosq=: {{+./~(+.|.)y{.1}}</syntaxhighlight>
Line 1,206 ⟶ 1,199:
 
=={{header|Quackery}}==
 
<syntaxhighlight lang="quackery"> [ 0 over 2 - of
1 tuck join join nested
Line 1,388 ⟶ 1,380:
1 1 1 1
</pre>
 
 
=={{header|Ruby}}==
559

edits