INPUT  #handle  "string expression";  variableName

This command has several possible forms:

    input var
This form causes a program to stop and wait for user to enter data in the program's mainwin and press the 'Return' key.  It will then assign the data entered to var.

    input "enter data"; var  
This form will display the string "enter data" and then stop and wait for user to enter data in the program's mainwin and press 'Return'.  It will then assign the data entered to var.

    input #name, var
This form will get the next data item from the open file or device using handle named #handle and assign the data to var.  If no device or file exists that uses the handle named #handle, then INPUT returns an error.

input #name, var1, var2
This form causes the next two data items to be fetched and assigned to var1 and var2.

    line input #name, var$
The LINE INPUT statement will read from the file, ignoring commas in the input stream and completing the data item only at the next carriage return or at the end of file.  This is useful for reading text with embedded commas

