Re: ver 4.0 question about map
- Posted by bernie Oct 26, 2008
- 926 views
mattlewis said...
bernie said...
What is a nested map ?
How is it created ?
How is it used ?
Why is a function called nested_put when it can do many different operations ?
The documents are not clear and do not offer a good explanation of the nested map.
The basic idea is that the elements of the map are maps themselves. It's somewhat like supplying multiple subscripts for a The other operations are to make the equivalent of +=, etc for elements of maps. It's basically an optimization. The regular put() does this as well.
Matt:
Is a key a name of another map ?