Associative array/Creation: Difference between revisions

Content added Content deleted
(→‎{{header|JavaScript}}: just added a missing verb in one place)
m (fixed copy/paste python tag)
Line 1,184: Line 1,184:
Hashes are a built-in type called Map in Purebasic.
Hashes are a built-in type called Map in Purebasic.


<lang python>NewMap dict.s()
<lang purebasic>NewMap dict.s()
dict("country") = "Germany"
dict("country") = "Germany"
Debug dict("country")</lang>
Debug dict("country")</lang>