GETTERMINATECOMMCHAR@

Platform

Win32

Purpose

To get the character that terminated the last call to READCOMMDEVICE@.

Syntax

CHARACTER GETTERMINATECOMMCHAR@(PORTNUM)
INTEGER (KIND=3) PORTNUM

Return value

GETTERMINATECOMMCHAR@returns the character that terminated the last READCOMMDEVICE@ call. This will be one of the characters set using SETCOMMTERMINATECHAR@. If the port is not open the function returns 1. If READCOMMDEVICE@ has not been called the default return is zero.

Notes

To access this routine you need to provide a definition by, for example, including the file clearwin.ins or by using the MSWIN module.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited