DBTCLEAN.C This was put together mostly to aid in zipping .DBT files. I do not claim to be a C programmer; I just write stuff in my spare time that I find useful. Memo files are in blocks of 512 bytes; the actual .DBF file contains a pointer into the .DBT file. Data is placed into the .DBT and a CHR(26) is appended to it, this being the basis for this program's operation. This does, however, mean that no memos can contain binary data. I was disappointed in this; I thought I might be able to make a neat E-mail system with memo fields for the baggage, but to no avail. Anyway, this has been tested with dBASE III, Fox, and Clipper S87 memo fields. I haven't dug into the 5.0 deeply enough to ensure compatibility with it, but I have uploaded this knowing that there are others out there like me supporting S87 applications who on occaision need to download the data over a modem. Suffice to say that it shouldn't be used on 5.0 memo fields. By changing the junk memory image (it is often the same junk) after the CHR(26) to spaces, I found that .DBT files zip smaller because of the redundant data. It also makes comparing different versions of a memo file easier. None of the usual disclaimers, etc. -- you already know all that stuff. I offer this as a tool, as I have used it. Many thanks to the people at Sequiter Software, who have taught me so much about xBase internals without even knowing it. Have fun. Any problems, contact me (Andrew Becker) at CIS 70523,3153.