Collabora Office 24.04 Help
Open 문으로 연 파일에서 다음 쓰기 또는 읽기 위치를 설정합니다.
임의 액세스 파일의 경우 Seek 문은 다음에 액세스할 레코드의 번호를 설정합니다.
다른 모든 파일의 경우 Seek 문은 다음 작업이 발생할 바이트 위치를 설정합니다.
Seek [#]filePos, {filePos|recordNum}
fileNum: The data channel number used in the Open statement.
filePos, recordNum: Position for the next writing or reading. Position can be a number between 1 and 2,147,483,647. According to the file type, the position indicates the number of the record (files in the Random mode) or the byte position (files in the Binary, Output, Append or Input mode). The first byte in a file is position 1, the second byte is position 2, and so on.