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.

Line Input# āĻ¸ā§āĻŸā§‡āĻŸāĻŽā§‡āĻ¨ā§āĻŸ āĻ¸āĻš, āĻ†āĻĒāĻ¨āĻŋ āĻāĻ•āĻŸāĻŋ āĻ–ā§‹āĻ˛āĻž āĻĢāĻžāĻ‡āĻ˛ āĻĨā§‡āĻ•ā§‡ āĻāĻ•āĻŸāĻŋ āĻ­ā§‡āĻ°āĻŋā§Ÿā§‡āĻŦāĻ˛ā§‡ āĻˇā§āĻŸā§āĻ°āĻŋāĻ‚ āĻĒāĻĄāĻŧāĻ¤ā§‡ āĻĒāĻžāĻ°āĻŦā§‡āĻ¨āĨ¤ āĻĒā§āĻ°āĻĨāĻŽ āĻ•ā§āĻ¯āĻžāĻ°ā§‡āĻœ āĻĒā§āĻ°āĻĻāĻžāĻ¨ (Asc=13) āĻ…āĻĨāĻŦāĻž āĻ˛āĻžāĻ‡āĻ¨āĻĢāĻŋāĻĄ (Asc=10) āĻĒāĻ°ā§āĻ¯āĻ¨ā§āĻ¤ āĻˇā§āĻŸā§āĻ°āĻŋāĻ‚ āĻ­ā§‡āĻ°āĻŋā§Ÿā§‡āĻŦāĻ˛ āĻ˛āĻžāĻ‡āĻ¨ā§‡āĻ° āĻĒāĻ° āĻ˛āĻžāĻ‡āĻ¨ āĻĒāĻĄāĻŧāĻž āĻšāĻ¯āĻŧāĨ¤ āĻĢāĻ˛āĻžāĻĢāĻ˛ā§‡āĻ° āĻ¸ā§āĻŸā§āĻ°āĻŋāĻ‚ āĻ āĻ˛āĻžāĻ‡āĻ¨ āĻ¸āĻŽāĻžāĻĒā§āĻ¤āĻŋ āĻšāĻŋāĻšā§āĻ¨ āĻ…āĻ¨ā§āĻ¤āĻ°ā§āĻ­ā§‚āĻ•ā§āĻ¤ āĻĨāĻžāĻ•ā§‡ āĻ¨āĻžāĨ¤

Example:

Please support us!