Associative array/Creation: Difference between revisions
Content added Content deleted
(add FreeBASIC) |
|||
Line 1,060: | Line 1,060: | ||
Dyalect has a <code>Tuple</code> data type which allows to add labels to values: |
Dyalect has a <code>Tuple</code> data type which allows to add labels to values: |
||
<lang dyalect>var t = (x |
<lang dyalect>var t = (x: 1, y: 2, z: 3) |
||
print(t.keys())</lang> |
print(t.keys())</lang> |
||