Associative array/Iteration: Difference between revisions

Content added Content deleted
Line 867: Line 867:


=={{header|Elena}}==
=={{header|Elena}}==
ELENA 4.x :
ELENA 5.0 :
<lang elena>import system'collections;
<lang elena>import system'collections;
import system'routines;
import system'routines;
Line 875: Line 875:
{
{
// 1. Create
// 1. Create
var map := new Dictionary();
var map := Dictionary.new();
map["key"] := "foox";
map["key"] := "foox";
map["key"] := "foo";
map["key"] := "foo";