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:

༥ ནུས་མེད་བྱ་སྒོའི་ལམ་ལུགས་བོད་བརྡ་

༥༢ བྱང་ཉེས་ཡིག་སྣོད་མིང་ཡང་ན་ཨང་གྲངས་

Seek function

Please support us!