Seek Statement

Open བརྗོད་པས་ཁ་ཕྱེ་བའི་ཡིག་ཆའི་ནང་གི་གཤམ་ལ་ཀློག་འདོན་བྱ་རྒྱུའམ་འབྲི་འཇུག་གི་གནས་ས་གཏན་འཁེལ་བྱེད། ཕྱིར་ལོག་ཐང་དང་ Seek རྗོད་པས་གཏན་འཁེལ་བྱས་པའི་ཐང་ཕན་ཚུན་ལྟོས་བཅས་ཡིན།

སྐབས་བསྟུན་མཚམས་འདྲིའི་ཡིག་ཆ་ནི་Seek རྟེན་གྲངས་གཤམ་ལ་ཀློག་འདོན་བྱ་རྒྱུའི་ཟིན་བྲིས་ཀྱི་ཨང་སྒྲིག་ལ་ཕྱིར་ལོག་བྱེད།

ཡིག་ཆ་གཞན་གྱི་ངོས་ནས་བརྗོད་ན་ རྟེན་གྲངས་འདིས་གཤམ་གྱི་བཀོལ་སྤྱོད་བྱེད་པའི་ཡིག་ཚེགས་གནས་ས་ཕྱིར་ལོག་བྱེད།

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 ནུས་མེད་ཀྱི་བརྒྱུད་རིམ་འཁོར་སྤྱོད་

52 ནོར་བའི་ཡི་ཆའི་མིང་ངམ་ཨང་སྒྲིག་

Seek function

Please support us!