Created
October 14, 2017 17:39
-
-
Save Yardanico/369b0ad221edc9ea4a20d78229659360 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tables | |
var a = initTable[string, Table[string, string]]() | |
a["data1"] = {"a": "b", "c": "d"}.toTable() | |
# or | |
a["data1"] = initTable[string, string]() | |
a["data1"]["a"] = "b" | |
a["data1"]["c"] = "d" | |
echo a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment