Export file and the use of Append -a

Bob Stockler bob at trebor.iglou.com
Mon Oct 18 20:48:58 PDT 2004


On Mon, Oct 18, 2004 at 10:44:25PM -0400, John Esak wrote:
| 
| This was a little confusing to me, too. He mentioned "fixed-length" (which
| is -X as far as I know) and then he mentioned earlier that you said he could
| not use -X with -a. (why?)  And wouldn't the -X give him the record ending
| all by itself (no need for th chr("10") thing?  I'm still confused... and I
| thought I _kenw_ this stuff. :-)

Until 5.0.14 EXPORT ASCII did not support -X and -A on
the same command line.  Whichever of -X or -A came first
on the line would be observed, the other ignored.

The work-around before 5.0.14 was to build an export line
by hand if you wanted to use -A.

That meant having to use & to join fixed-length fields (real
or dummy) to build a line to be exported, terminated with:

  & chr("10")

so they ended with a newline character.

More clear now?

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list