Re: ver 4.0 map question

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
bernie said...

Can a map key be both a atom and a sequence in the SAME map ?

Yes. A map key is any Euphoria object.

-- All good 
map m = new() 
put(m, 123, "First Item") 
put(m, "Another", "Item") 
put(m, 45.67, "Still more") 
put(m, {"abc", 00.22233, 5,{"nested"}}, "Last item") 
bernie said...

Can a map contain the same amount data as a very large sequence ?

Yes. Only limited by memory. There is no hard-coded size restriction on the map data.

Thanks Derek !

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

Search



Quick Links

User menu

Not signed in.

Misc Menu