! Receving test program via COM-port
! The setting for the COM port in the Control Panel of Windows.
! This program finishes when a line is received.
OPEN #1: NAME "COM1"  
! set #1: endofline CHR$(13)    ! Enables when the oposite sends only CR for line-end. 
LINE INPUT #1: S$
PRINT S$
CLOSE #1
END

