Input Instruction
Syntax
Input [#]StreamNum, var[, ...]
Group
Description
Obtains input from StreamNum and assign it to vars. Input values are comma delimited. Leading and trailing spaces are ignored. If the first char (following the leading spaces) is a quotation mark ("), the string is terminated by an ending quotation mark. Special values #NULL#, #FALSE#, #TRUE#, #date#, and #ERROR number# are converted to their appropriate value and data type.
Sandbox
Sandbox mode blocks this instruction.
Example
Sub Main Open "XXX" For Input As #1 Input #1, A, B, C$ Debug.Print A; B; C$ Close #1 End Sub
See also