VB6Runtime / Library / File / line_input

VB6 Library Reference

VB6 Line Input statement syntax: - Line Input #filenumber, varname Reads a single line from an open sequential file and assigns it to a String variable. The Line Input # statement syntax has these parts:

Part Description
filenumber Required. Any valid file number.
varname Required. Valid String or Variant variable name.

Remarks

Examples

Line Input #1, textLine
Line Input #fileNum, dataBuffer
Line Input #1, myString

Reference

← Back to File | View all functions