Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
m Julia: <source lang="julia">
Line 514:
 
Declare dictionary:
<source lang="julia">
 
phonebook = Dict( "Sally Smart" => "555-9999", "John Doe" => "555-1212", "J. Random Hacker" => "555-1337" )
</source>
 
Access element:
 
Line 533:
keys(phonebook)
values(phonebook)
 
 
=== [[Korn Shell|KornShell]] 93 (and compliant shells: ksh93, zsh, bash4...) ===