Input Instruction

Syntax                  Input StreamNum, var[, ...]

Group                   File

Description           Get 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 quote (") then the string is terminated by an ending quote. Special values #NULL#, #FALSE#, #TRUE#, #date# and #ERROR number# are converted to their appropriate value and data type.

See Also               Line Input, Print, Write.

Example               '#Language "WWB.NET"
SubMain
    Dim A, B, C
    FileOpen 1, "XXX", OpenMode.Input
    Input 1, A, B, C
    Debug.Print A, B, C
    FileClose 1
EndSub