RosettaCodeData/Task/Create-a-two-dimensional-array-at-runtime/Ring/create-a-two-dimensional-array-at-runtime.ring
2016-12-05 23:44:36 +01:00

5 lines
195 B
Text

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