Re: recommendation

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

It's funny you should mentions that. I recently added a couple routines to
the files I've been working on at Sourceforge to read/write "objects" in
files. They are stored in the file based on the type of atom or sequence,
and the number of bytes needed to store the data. I was hoping for some feed
back on those in particular. I used the following sequence to test it;

{1.006,{1,{2,{2.5,2.5},2},3},{1024,#FFFFFFF},"just some random text",-2.3,0}

It could write it to a file and reproduce it accurately as a useable object.
If you would  like to see it, I can either send it to you, or you can find
the files here;

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/standardeu/esl/esl/

You will need file.e, pack.e, and error.e if you don't modify them. Feel
free to change the names of the files if you wish.

The files are NOT finished yet, but as I said, I was hoping for feedback on
the routines: get_object() and put_object(). I was trying myself to avoid
the "readable-string" conversions. There is no documentation on them as of
yet, so if you have any questions, please post them to the list.

Jason

----- Original Message -----
From: George Walters <gwalters at sc.rr.com>
To: EUforum <EUforum at topica.com>
Sent: Wednesday, August 29, 2001 9:55 AM
Subject: recommendation


>
> When writing/storing your data base records how is the best/your way of
> dealing with numeric data. Do you save the records with the numbers
> converted to strings and convert them back when read every time? Or do you
> write them as numbers and on editText entry convert those to strings back
> and forth from the file? I'm worried here about future ease of use in
> reports and updates. On Theos Basic all this was handeled automatically
> during I/O.
>
> ...george
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu