Re: "dumping" a map
- Posted by jimcbrown (admin) 3 months ago
- 851 views
cjnwl said...
I can now use a nested_put|get to set or retrieve data, which is what I wanted :
map:nested_put(tables, {"m_kids", "m_test", "value"}, 125) writefln("\n" & map:nested_get(tables, {"m_kids", "m_test", "description"}) & "\n") map_dump(tables, 0)
Very nice, and thank you for this!
I wonder if we want to add this, or a variation of it at least, to the stdlib. Would be nice to be able to say that we support nested maps (even with some limitations).