seekDec

seekDec(offset: Decimal);

The seekDec method of the File class sets the file pointer to the position as a decimal value (in file units from the beginning of the file) specified in the offset parameter. The seekDec method automatically opens the file if it is not already open.

For Unicode text, the file unit is character (not byte). For Unicode text files that contain a Unicode File Marker, the file marker specified in the unicodeBOM property is ignored. The next read or write operation occurs from the specified position.