Export file and the use of Append -a
Bob Stockler
bob at trebor.iglou.com
Thu Oct 14 13:13:23 PDT 2004
On Thu, Oct 14, 2004 at 03:43:39PM -0400, Ken Brody wrote:
| 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?)
Yeah, thanks. It's been a while since I've used EXPORT,
and my habit then had been to set nl(1,*,g) = chr("10")
in the subroutine that initialized the table.
I jes forgot.
| > 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.
There I was just ignorant. I'm not a Windows f^Hman.
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