Chris Burke wrote: > if. len > #dat do. > if. p > s do. > dat=. dat, LF > else. > 'file not in LF-delimited lines' 13!:8[3
Note 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. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm