Re: database theory

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

I should have added a couple of things to the previous message:
Euphoria sequences, when stored on disk, are horribly wasteful
of space. It is *far* better to do your storage in plain old
fixed-length ascii text format.
How? Using prinf() of course. In one statement, you get:
1.Fixed length fields
2.Ascii conversion
3.End of record marker (C/R)

This is also nice because you can use any old text editor
to edit or view your data files.
The problem is when reading data back in, you must do your
own parsing. Using fixed length fields,
like so:
Irv Mullins irv at ellijay.com
Alan Tu     ATU5713 at COMPUSERVE.COM
^           ^
1           13
You see that [NAME] is always input[1..12], address is [13..25]
and so on.

This works pretty easily.

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu