INPUT( nbr, [#]fnbr )
Will return a string composed of ‘nbr’ characters read from a file previously opened for INPUT with the file number ‘fnbr’. This function will read all characters including carriage return and new line without translation.
When reading from a serial communications port this will return as many characters as are waiting in the receive buffer up to ‘nbr’. If there are no characters waiting it will immediately return with an empty string. The # is optional. Also see the OPEN command.
OPEN AS CONSOLE