Re: "dumping" a map

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

At the moment I don't want to save anything to file, just display on screen in a readable format.

If that's the case, then you can do it easily with Euphoria. grin

For any key that points to a map, just use a string like "something-map."

When reading it back, if any key you encounter contains "-map," you know that the value is a map, and you can deal with it appropriately.

You could also use a key formatted like {key,type}, e.g., {"my_map",EU_MAP}, or somesuch. Not sure about that last one, but I'm just thinking out loud for now.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu