Programming Reference Manual
Input$
Syntax
Input[$](
N
,
StreamNum
)
Description
Read a number of characters from the opened stream.
Parameter
Description
N
Read this many chars. If fewer than that many chars are left before the end of file then a run-time error occurs.
StreamNum
Streams 1 through 255 are private to each macro. Streams 256 through 511 are shared by all macros.
See Also
Example
Sub
Main
Open
"XXX"
For
Input
As #1
L =
LOF
(1)
T$ =
Input
$(L,1)
Close
#1
Debug
.
Print
T$;
End
Sub
Home
IDE Overview
Declarations
Data Types
Assignment
Flow Control
Error Handling
Conversion
Variable Info
Constant
Math
Financial
Strings
StringClass
Objects
Time/Date
File
File
ChDir
ChDrive
Close
CurDir
Dir
EOF
FileAttr
FileCopy
FileDateTime
FileLen
FreeFile
Get
GetAttr
Input #
Input$
Kill
Line Input
Loc
Lock
LOF
MkDir
Name
Open
Print
Put
Reset
RmDir
Seek
Seek #
SetAttr
Unlock
Write
User Input
User Dialog
Dialog Functions
Web Form
CCL (web server)
DDE
Settings
Miscellaneous
Operator
Translator