RosettaCodeData/Task/Associative-array-Iteration/Dyalect/associative-array-iteration.dyalect

6 lines
76 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
var t = (x: 1, y: 2, z: 3)
for x in t.Keys() {
print("\(x)=\(t[x])")
}