Export file and the use of Append -a
Dennis Malen
dmalen at malen.com
Tue Oct 19 09:04:17 PDT 2004
Bob,
You are absolutely correct in your description and resolution of the
problem.
I am on 4.8. The manual approach with the "&" works fine. To create a new
line you must use chr("10").
Dennis
----- Original Message -----
From: "Bob Stockler" <bob at trebor.iglou.com>
To: "filePro mailing list" <filepro-list at seaslug.org>
Sent: Monday, October 18, 2004 11:48 PM
Subject: Re: Export file and the use of Append -a
> 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).
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
More information about the Filepro-list
mailing list