Create a two-dimensional array at runtime: Difference between revisions

no edit summary
(C++: explicit value returned)
No edit summary
Line 1,791:
· · · · · 30~6 · 30~8 30~9 · · · · · ·
</pre>
 
=={{header|Ring}}==
<lang ring>
See 'Enter width : ' give width
See 'Enter height : ' give height
width=0+width
height=0+height
aList = list(height) for x in aList x = list(width) next
aList[1][2] = 10
See aList[1][2] + nl
</lang>
 
=={{header|Ruby}}==