Re: "dumping" a map

new topic     » goto parent     » topic index » view thread      » older message » newer message
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).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu