CalcIt Commands

FILETOFILE(FileVar1, FileVar2, start1=0, start2=0, NumOfBytes=rest of FileVar1)

Copies part of a file to another file.

  • FileVar1. File to copy from
  • FileVar2. File to copy to
  • start1. Start copying from start1 of f1. In bytes from the beginning of the file. Optional. If omitted then 0;
  • start2. Start copying to start2 of f2.  In bytes from the beginning of the file. Optional. If omitted then 0.
  • NumOfBytes. Number of bytes to copy. Optional. If omitted then the rest of FileVar1.

See also

Using File Variables, FileRecDef, FileDel, FileIns, FileAdd, READFile, ArrToFile, Size, FileRecsFileSearch, FileCompare

Go Back