Create an object/Native demonstration: Difference between revisions
Create an object/Native demonstration (view source)
Revision as of 05:28, 17 April 2018
, 6 years agono 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}}==
|