Export Syntax
Fairlight
fairlite at fairlite.com
Fri Jul 27 08:57:16 PDT 2007
This public service announcement was brought to you by Scott Walker:
> I am exporting an ascii file on a SCO Unix system. The file will
> actually be used on a windows system so I want the record separator to
> be a CR/LF.
>
> I'm using:
>
> export ascii banner=(mv) r=chr("10")&chr("13") f=, o=" c="
>
> but that bombs on syntax check.
>
> How do I tell fp to use CR/LF as record separator?
I was told that you can only use single-byte separators in export and
import, so the answer would appear to be, "You can't."
TTBOMK, you need to use open/writeline/close instead. Since writeline will
append its own \n, just make sure you toss in a \r at the end of your line
contents.
mark->
--
The latest synth mixdown...
http://media.fairlite.com/Isolation_Voiceless_Cry_Mix.mp3
More information about the Filepro-list
mailing list