RosettaCodeData/Task/Associative-array-Creation/Phix/associative-array-creation.phix
2016-12-05 23:44:36 +01:00

8 lines
306 B
Text

setd("one",1)
setd(2,"duo")
setd({3,4},{5,"six"})
?getd("one") -- shows 1
?getd({3,4}) -- shows {5,"six"}
?getd(2) -- shows "duo"
deld(2)
?getd(2) -- shows 0