If I were defining fcopy in J (rather than deferring to the host operating system), I'd do it like this:
fcopy=: fwrite~ fread Data flow would be right to left (so source file name on the right, and destination file name on the left). Result is the length of the copied file. I hope this helps, -- Raul On Wed, Feb 12, 2020 at 5:50 PM Devon McCormick <devon...@gmail.com> wrote: > > Is there, or did there used to be, a file copy command called "fcopy"? I > see it in some old code but cannot find its definition. > > Thanks, > Devon > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm