Line Input# Statement

Reads a line from a sequential file into a variable.

አገባብ:

Line Input Statement diagram


Line Input #fileNum, variable

ደንቦች:

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). ተ መስመር መጨረሻ ምልክት በ ውጤት ሀረጎች ውስጥ አይካተቱም

ለምሳሌ:

Please support us!