@COMM   [VDS6]

Top  Previous  Next

Syntax:

 

@COMM(GET)

@COMM(GETLINE)

@COMM(ERROR)

 

Requires:

 

EXTERNAL VDSCOM60.DLL

#DEFINE FUNCTION,COMM

Description:

This function is used to read the data received from the serial port after a COMMEVENT event occurs, or to obtain an error message when an error occurs. The options are:

GET

Returns a string containing all the text that has been received.

GETLINE

Returns the next line of text received.

ERROR

Returns a description of the last error.

 

OK:

 

Set to false if there is no data (or not a complete line of text) to receive.

 

See also: