Variable size/Get: Difference between revisions

no edit summary
(→‎{{header|COBOL}}: explain a little about the size 7 from group item set at 2 and 4)
No edit summary
Line 2:
{{omit from|AWK}}
{{omit from|Clojure}}
{{omit from|E}}ruby
 
{{omit from|gnuplot}}
{{omit from|Groovy}}
Line 966 ⟶ 967:
│ (excluding the DO loop indices [j and k] themselves). │
└────────────────────────────────────────────────────────────────────┘*/</lang>
 
=={{header|Ring}}==
<lang ring>
list1 = list(2)
list2 = list(4)
list3 = list(6)
list4 = list(7)
list5 = list(5)
 
see "Size of list1 is : " + len(list1) + nl
see "Size of list2 is : " + len(list2) + nl
see "Size of list3 is : " + len(list3) + nl
see "Size of list4 is : " + len(list4) + nl
see "Size of list5 is : " + len(list5) + nl
</lang>
Output:
<pre>
Size of list1 is : 2
Size of list2 is : 4
Size of list3 is : 6
Size of list4 is : 7
Size of list5 is : 5
</pre>
 
=={{header|Ruby}}==
2,468

edits