Jump to content

Create an object/Native demonstration: Difference between revisions

no edit summary
(Added Kotlin)
No edit summary
Line 558:
#fenced-hash(("b" . 66) ("a" . 55))
#fenced-hash(("b" . 66) ("a" . 1))</pre>
 
=={{header|Ring}}==
<lang ring>
# Project : Create an object/Native demonstration
# Date : 2018/04/17
# Author : Gal Zsolt (~ CalmoSoft ~)
# Email : <calmosoft@gmail.com>
 
map = [["A",65],["B",66],["C",67]]
see map + nl
see map["A"] + nl
</lang>
Output:
<pre>
A
65
B
66
C
67
 
65
</pre>
 
=={{header|Ruby}}==
2,468

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.