CalcIt Commands

FILEINS(FileVar, Index, RecNum, Expand)

Inserts RecNum records at Index record position.

  • FileVar. FileVariable.
  • Index. Insert position. Records at this position and above are moved up in the file before the insertion. It is affected by FileRecDef.
  • RecNum. Number of records to insert. The inserted records are initially filled with zeroes. Is affected by FileRecDef.
  • Expand. If TRUE then the file is expanded to the additional size of the inserted records. If it is FALSE then the last RecNum records are lost. Optional. If omitted then FALSE is assumed.

See also Using File Variables, FileRecDef, FileDel, FileAdd, FileToFile, READFile, ArrToFile, Size, FileRecsFileSearch, FileCompare

Go Back