நிரல்கூறு
உள்ளடக்கங்கள்
அகவரிசை 🔎︎

# Seek Statement

Sets the position for the next writing or reading in a file that was opened with the Open statement.

For random access files, the Seek statement sets the number of the next record to be accessed.

For all other files, the Seek statement sets the byte position at which the next operation is to occur.

See also: Open, Seek.

## தொடரமைப்பு:

    Seek[#FileNumber], Position (As Long)

## அளவுருக்கள்:

FileNumber: The data channel number used in the Open statement.

Position: 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.

## பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

52 செல்லாத கோப்பு பெயர் அல்லது கோப்பு எண்