Hi Charles,
From the PowerBasic documentation
"COMM
LINE [INPUT] [#] hComm, string_var"
"Read a delimited line of data from the receive buffer,
where a "line" is defined as a stream of data that is terminated
by a CR/LF"
Since the VXM does not send $CRLF then you should be using "COMM
RECV [#]
hComm,
count&,
string_var"
"Retrieve the count& number of bytes from the
receive buffer, placing
the results in string_var. Program execution will halt
until count& bytes are available, so it is wise to
check how many bytes are available before making a COMM RECV
request"
For Example:
Qty& = COMM(#hComm, RXQUE)
COMM RECV #hComm, Qty&, a$