Seek Statement

āĻ“āĻĒ⧇āύ āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āĻŸā§‡āϰ āĻŽāĻžāĻ§ā§āϝāĻŽā§‡ āĻ–ā§‹āϞāĻž āĻĢāĻžāχāϞ⧇āϰ āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āϞ⧇āĻ–āĻž āĻ…āĻĨāĻŦāĻž āĻĒ⧜āĻžāϰ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāύ āĻĒā§āϰāĻĻāĻžāύ āĻ•āϰ⧇ āĻĨāĻžāϕ⧇āĨ¤

āĻ°â€ā§āϝāĻžāĻ¨ā§āĻĄāĻŽ āĻāĻ•ā§āϏ⧇āϏ āĻĢāĻžāχāϞ⧇āϰ āϜāĻ¨ā§āϝ, āĻāĻ•ā§āϏ⧇āϏ āĻ•āϰāĻžāϰ āϜāĻ¨ā§āϝ āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āϰ⧇āĻ•āĻ°ā§āĻĄā§‡āϰ āĻ•ā§āϰāĻŽ āϏāĻŋāĻ• āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āϟ āĻĻā§āĻŦāĻžāϰāĻž āύāĻŋāĻ°ā§āϧāĻžāϰāĻŋāϤ āĻšā§ŸāĨ¤

āĻ…āĻ¨ā§āϝ āϏāĻ•āϞ āĻĢāĻžāχāϞ⧇āϰ āϜāĻ¨ā§āϝ, āϏāĻŋāĻ• āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āĻŸā§‡āϰ āϏāĻžāĻšāĻžāĻ¯ā§āϝ⧇ āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āĻ…āĻĒāĻžāϰ⧇āĻļāύ āϏāĻ‚āϘāϟāĻŋāϤ āĻšāĻŦ⧇ āĻāĻŽāύ āĻŦāĻžāχāϟ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāύ āύāĻŋāĻ°ā§āϧāĻžāϰāĻŖ āĻ•āϰāĻž āϝāĻžā§ŸāĨ¤

Syntax:

Seek Statement diagram


Seek [#]filePos, {filePos|recordNum}

Parameters:

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.

Error codes:

5 Invalid procedure call

52 Bad file name or number

Seek function

Please support us!