At 09:38 -0400 2006/05/16, Miller, Raul D wrote:
Chris Burke wrote:if. len > #dat do. if. p > s do. dat=. dat, LF else. 'file not in LF-delimited lines' 13!:8[3Note that this assumes that the last line of the file is terminated by a line feed. Otherwise, there can be a spurious error if the file is slightly larger than an even multiple of 1e6. At minimum, this assumption should be documented.
Actually, it needs to be dealt with. Some programs produce files without a final end of line -- e.g. M$ Excel text files. I have never understood how they could do that with good conscience... - joey ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
