Re: How To Build Lookup Tables

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...
euphoric said...
sequence table = tables:new() 
 
table = set(table,"a",123) 
table = set(table,"b","Billy") 
table = set(table,"c",{247,'x',{1,7,7}}) 
table = set(table,"x","Hawaii") 
table = set(table,"y",77897) 
table = set(table,"z",map:new()) 

Congratulations, you've created really slow maps! grin

I know! smile I'm just starting with the simple iteration.

ghaberek said...

What are you looking for here, exactly? I know one problem we discussed previously was that save_map doesn't know how to store sub-maps. Are you trying to get around that?

Yes. Ultimately, I'll have deeper-nested tables, and this will make it easier to load/save them without having to manually track what all is a map.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu