Create an object/Native demonstration: Difference between revisions

no edit summary
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/05/20
# Author : Gal Zsolt [~ CalmoSoft ~]
# Email : <calmosoft@gmail.com>
 
map = []
map["A"] = 65
map["B"] = 66
map["C"] = 67
see map + nl
</lang>
Output:
<pre>
A
65
B
66
C
67
</pre>
 
=={{header|Ruby}}==
2,468

edits