Line Input Instruction

Syntax

Line Input [#]StreamNum, S$

Group

File

Description

Get a line of input from StreamNum and assign it to S$.

Example


Sub Main
    Open "XXX" For Input As #1
    Line Input #1, S$
    Debug.Print S$
    Close #1
End Sub

See also

Input, Print, Write