Syntax
Input$(NumChars, [#]FileNumber)
Remarks
Reads NumChars characters (as many as 32,767) from an open sequential file. FileNumber is the number specified in the Open instruction that opened the file for input.
Example
This example defines the variable filecode$ with the first 10 characters in the text file INFO.TXT:
Open "INFO.TXT" For Input As #1 filecode$ = Input$(10, #1) Close #1
See Also
Close, Eof(), Input, InputBox$(), Line Input, Lof(), Open, Print, Read, Seek, Write