Input Function |
Syntax:
Group:
Description:
Returns N chars from StreamNum.
Parameters:
Parameter |
Description |
Read this many chars. If fewer than that many chars are left before the end of file then a run-time error occurs. |
|
Streams 1 through 255 are private to each macro. Streams 256 through 511 are shared by all macros. |
Example:
Sub Main
Open "XXX" For Input As #1
L = LOF(1)
T$ = Input$(L,1)
Close #1
Debug.Print T$;
EndSub