INPUT$(ch)
Purpose To return a string obtained from communication port ch.

ch must be a numeric constant between 1 and 8. The actual target hardware determines the valid port #. This function returns f0 if there is no valid string waiting at serial port.

Examples D$ = INPUT$(2)
Comments: A Carriage Return (CR) or ASCII code 13 marks the end of the input string from the communication port. The returned string however will exclude the CR character. In i-TRiLOGI simulator, the user will be prompted to enter the string in a pop-up window
See Also INCOMM( ), PRINT #, OUTCOMM

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual