[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Xy as database handler?



Paul wrote:
If you want to use XyWrite for databaselike operations, I'd suggest using some sort of markup to label your fields.




Hmmm, I guess I could do that. Now, suppose I want to change Joe Doe's
email address. And before the change it looks like this:

Joe Doe
Active
05/09/04
JDoe@xxxxxxxx
44.95

Then to change it, I'd do:

TF BX se /Joe Doe[crlf]/Q2 ;*;
BX se //Q2 ;*;
DF LE DF RD JoeDoe@xxxxxxxx;*;
That's not too bad, actually. And it would make adding new fields easy, because I'd just add a new tag at the end. So, it pays to break the mindset of one delimiter, with fields defined only by position.
However, my wife just laid down the law: I cannot invest more time in
taking programs that already work and "neatening" them up.

Thanks for the idea--for when I can sneak it in.



Harry Binswanger
hb@xxxxxxxx