Line Input# Statement

Reads a line from a sequential file into a variable.

Syntax:

Line Input Statement diagram


Line Input #fileNum, variable

Parameters:

fileNum: Number of the file that contains the data that you want to read. The file must have been opened in advance with the Open statement using the key word INPUT.

variable: The name of the variable that stores the result.

གྱལ་ཨིན་པུཊི་ # གསལ་བཤད་གཅིག་ཁར་ ཁྱོད་ཀྱིས་འགྱུར་ཅན་ནང་ན་ཡིག་སྣོད་ཁ་ཕྱེ་ཅིག་ལས་ཡིག་རྒྱུན་ཚུ་ལྷག་བཏུབ། ཡིག་རྒྱུན་འགྱུར་ཅན་ཚུ་ཆ་མཉམ་ཀེརེ་ཇི་དང་པ་སླར་ལོག་ཚུན་ཚོད་ལུ་གྱལ་རེ་རེ་གི་རེ་རེ་འབད་ (Asc=13) ཡང་ན་ཤོག་གུ་བཙུགས་ཏེ་ (Asc=10)ལྷག་བཏུབ་ཨིན། གྱལ་མཇུག་རྟགས་ཚུ་ཆ་མཉམ་ཡིག་རྒྱུན་འབྱུང་མི་ནང་གྲངས་སུ་མི་རཙིས།

Example:

Please support us!