Re: DBI for Euphoria

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

As I understand it, your original request was basically for some improved documentation. Derek, the author of this code, has said that he will respond to you. I can understand that you haven't received a response as quickly as you would like. We're all volunteers here, and working in our spare time. Have you taken any time to look at the source code to figure it out and write the documentation? We'd all really appreciate it if you could. Matt

This what I said

bernie said...

First I think the docs on these to functions are too confusing.

Example : The save_map says you can only save values of printable characters. Then in note it says you can save numeric values ??

The load_map needs to use some special file techniques ? using verbose 3 ???? etc. I have know idea what that means when the example is reading a text file ?

I don't understand why save_map and load_map can't just save each record out and load in each record to recreate a saved map.

These functions have no value because the same can be done with a simple ini file to load options as shown in the example.

If Rob could save and read ANY record to and from the database.e file then why can't map files use the same methods?

I can see many uses and advantages to having these two functions but not the way they are implement now.


What I do not understand is why save_map does not simply save
the RAM_SPACE bytes that are mallocated for the map and statistics
that are available in that map structure and write that
information out to a file.

Then load_map could just read in the statistics and
allocate the RAM_SPACE for the map to recreate the map.

I was not trying to hi-jack the thread only to inform Jeremy since he
was talking about saving a map in his example.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu