1. edb

I really liked the data base work. Would it be possible / easy? to have an
option to save the data in regular text format instead of in the condensed
form? I'd like to look at the data with a text processor instead of having to
write my own data viewer and editor.
JOHN

new topic     » topic index » view message » categorize

2. Re: edb

There's already a routine in the package that allows you to dump the =
database to a text file.  I don't have the docs on this machine, so you'll =
have to look up the syntax for yourself.

>>> john.mcadam at MAIL.TELEPAC.PT 03/09/00 03:17AM >>>
I really liked the data base work. Would it be possible / easy? to have an
option to save the data in regular text format instead of in the condensed
form? I'd like to look at the data with a text processor instead of having =
to
write my own data viewer and editor.
JOHN

new topic     » goto parent     » topic index » view message » categorize

3. Re: edb

>There's already a routine in the package that allows you to dump the =
database to a text file. =20
>I don't have the docs on this machine, so you'll have to look up the =
syntax for yourself.

The commands are print and get, which I am using now. But they are not =
adequate. The
output of print is barely understandable. If I edit it, say, put in some =
enter's, to separate
the records so I can see what I've got a little better, "get" can't get. =
It say's its in an invalid
format. I don't understand why "get" can't skip over blanks (spaces, =
tabs, enters).

,1,-50},{78,-6,23,-81},{0,0,0,0},{{1,11,4},{3,11,3}},0,{-1,1}}, =

would be easier to read if I could put it like this:

{
{1,{114,97,98,98,105,116}, 4,{173,109},{-20,1,-50},{ 97,78,-3,-72},  =
{0,0,0,0}, {{1,10,1},{4,5,3}},   0,{0,91}},
{2,{114,97,98,98,105,116}, 4,{126, 26},{-20,1,-50},{ 78, -6,23,-81},  =
{0,0,0,0}, {{1,11,4},{3,11,3}}, 0,{-1, 1}},
{3,{114,97,98,98,105,116}, 4,{146, 17},{-20,1,-50},{-38,-57,56,-36}, =
{0,0,0,0}, {{4,12,3},{4,2,4}},   0,{-1, 1}},
{4,{114,97,98,98,105,116}, 4,{131,110},{-20,1,-50},{ =
15,62,-36,-58},{0,0,0,0}, {{3,2,2},{5,6,1}},     0,{ 0, 8}}
}

Easier, but still a bitch to read. I can make it even easier to read =
with "printf" but then "get" can't get.

JOHN

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu