VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

@COMM

Windows Linux macOS

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