recordSize

Type: Integer

The recordSize property of the File class contains the size in characters of a fixed-length record when sorting a file. Fixed-length records are not delimited by the endOfLine character sequence. When sorting fixed-length records, the entire length of the file must be divisible by the record size, with no remainder.

The default value is zero (0). If the value of the recordSize property is set to zero (0), the file is treated as a variable-length record file type.

The following example shows the use of the recordSize property to set the record size of the file to zero (0), indicating the file to be sorted has variable records. In this example, the records are delimited by carriage return and line feed characters.

file1.recordSize := 0;
file1.endOfLine  := CrLf;