Export file and the use of Append -a
Kenneth Brody
kenbrody at bestweb.net
Thu Oct 14 12:43:39 PDT 2004
Bob Stockler wrote:
[...]
> Then: fi = "/tmp/fixed_length_ascii.txt"
> Then: export ascii out=(fi) -a
> Then: out(1) = 1 & 3 & 5 & 10 & 12 & "\n"
ITYM:
Then: out(1) = 1 & 3 & 5 & 10 & 12 & chr("10")
(Unless you want the literal backslash-en to be exported?)
[...]
> On Windows you'd want to end the assignment to out(1) with:
>
> & "\r" { "\n".
Not necessary, as EXPORT ASCII already does the NL-->CRLF translation,
just as IMPORT ASCII does CRLF-->NL.
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list