RosettaCodeData/Task/Associative-array-Creation/Ring/associative-array-creation.ring

8 lines
177 B
Text
Raw Permalink Normal View History

2018-06-22 20:57:24 +00:00
# Project Associative array/Creation
myarray = [["one",1],
["two",2],
["three",3]]
see find(myarray,"two",1) + nl
see find(myarray,2,2) + nl