summaryrefslogtreecommitdiff
path: root/test/map1.lm
blob: 8d3b111b36ec3493273991b7df79ce838e0a247f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

new M: map<str, str>()

AE: argv_el = argv->head
while AE {
	M->insert( AE->value, AE->value )
	AE = AE->next
}

for V: str in M {
	print "[V]
	M->find( V )
}
##### ARGS #####
a b c
##### EXP #####
a
b
c